login
A064008
a(n) = (10^n - 1)/9*prime(n).
1
2, 33, 555, 7777, 122221, 1444443, 18888887, 211111109, 2555555553, 32222222219, 344444444441, 4111111111107, 45555555555551, 477777777777773, 5222222222222217, 58888888888888883, 655555555555555549, 6777777777777777771, 74444444444444444437, 788888888888888888881
OFFSET
1,1
LINKS
FORMULA
a(n) = A002275(n)*A000040(n). - Michel Marcus, Jun 22 2018
MATHEMATICA
Table[(10^n - 1) / 9 Prime[n], {n, 20}] (* Vincenzo Librandi, Jun 22 2018 *)
PROG
(PARI) for(n=1, 22, print((10^n-1)/9*prime(n)))
(PARI) { for (n=1, 100, write("b064008.txt", n, " ", (10^n - 1)/9*prime(n)) ) } \\ Harry J. Smith, Sep 05 2009
(Magma) [(10^n - 1) / 9*NthPrime(n): n in [1..20]]; // Vincenzo Librandi, Jun 22 2018
CROSSREFS
Sequence in context: A118117 A231794 A083143 * A093752 A045984 A077657
KEYWORD
nonn
AUTHOR
Jason Earls, Sep 14 2001
STATUS
approved