Question: when was the abacus invented in ancient china?
Answer: 2nd century BC

The earliest known written documentation of the Chinese abacus dates to the 2nd century BC.