%I #19 Jul 29 2023 11:20:06
%S 10,20,10,40,50,20,70,80,10,1000,100,400,1300,1400,500,1600,1700,200,
%T 1900,2000,700,200,2300,800,2500,2600,300,2800,2900,1000,3100,3200,
%U 100,3400,3500,400,3700,3800,1300,4000,4100,1400,4300,400,500,4600,4700,1600,4900,5000
%N a(n) = numerator of fraction a/b, where gcd(a, b) = 1, whose decimal representation has the form (n).(n)(n)(n)... with period (n).
%H David A. Corneth, <a href="/A172503/b172503.txt">Table of n, a(n) for n = 1..10000</a>
%e a(10) = 1000; 1000/99 = 10.10101010... (period 10).
%e a(9) = 10; 10/1 = 9.9999999...
%o (PARI) a(n) = my(qd = #digits(n)); numerator(n / (10^(qd)-1)) * 10^qd \\ _David A. Corneth_, Apr 28 2019
%Y Cf. A172504 (denominators).
%K nonn,frac,easy
%O 1,1
%A _Jaroslav Krizek_, Feb 05 2010
%E More terms from _David A. Corneth_, Apr 28 2019
|