A225488 Murai Chuzen numbers.
9, 45, 3, 225, 18, 15, -1, 1125, 1, 99, 495, 33, 2475, 198, 165, -1, 12375, 11, 999, 4995, 333, 24975, 1998, 1665, -1, 124875, 111, 9999, 49995, 3333, 249975, 19998, 16665, -1, 1249875, 1111, 99999, 49995, 33333, 2499975, 199998, 166665, -1, 12499875, 11111, 999999, 4999995, 333333, 24999975, 1999998, 1666665, -1, 124999875, 111111
Offset: 1
Examples
9/1 = 9, so a(1) = 9; 9/2 = 4.5, so a(2) = 45; 9/7 does not terminate, so a(7) = -1; 9/8 = 1.125, so a(8) = 1125; 9/9 = 1, so a(9) = 1. 99/1 = 99, so a(10) = 99; 99/2 = 49.5, so a(11) = 495.
References
- Murai Chuzen, Sampo Doshi-mon (Arithmetic for the Young), 1781.
Links
- David Eugene Smith and Yoshio Mikami, A history of Japanese mathematics, Open Court, 1914, reprinted by Dover, 2004, p. 176.
Comments