login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A172503 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). 2

%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

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified August 27 18:14 EDT 2024. Contains 375471 sequences. (Running on oeis4.)