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!)
A064008 a(n) = (10^n - 1)/9*prime(n). 1

%I #17 Sep 08 2022 08:45:04

%S 2,33,555,7777,122221,1444443,18888887,211111109,2555555553,

%T 32222222219,344444444441,4111111111107,45555555555551,

%U 477777777777773,5222222222222217,58888888888888883,655555555555555549,6777777777777777771,74444444444444444437,788888888888888888881

%N a(n) = (10^n - 1)/9*prime(n).

%H Harry J. Smith, <a href="/A064008/b064008.txt">Table of n, a(n) for n = 1..100</a>

%F a(n) = A002275(n)*A000040(n). - _Michel Marcus_, Jun 22 2018

%t Table[(10^n - 1) / 9 Prime[n], {n, 20}] (* _Vincenzo Librandi_, Jun 22 2018 *)

%o (PARI) for(n=1,22,print((10^n-1)/9*prime(n)))

%o (PARI) { for (n=1, 100, write("b064008.txt", n, " ", (10^n - 1)/9*prime(n)) ) } \\ _Harry J. Smith_, Sep 05 2009

%o (Magma) [(10^n - 1) / 9*NthPrime(n): n in [1..20]]; // _Vincenzo Librandi_, Jun 22 2018

%Y Cf. A000040, A002275.

%K nonn

%O 1,1

%A _Jason Earls_, Sep 14 2001

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 April 24 03:08 EDT 2024. Contains 371918 sequences. (Running on oeis4.)