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!)
A276025 Next prime after concatenate of n, n times (A000461). 1
2, 23, 337, 4447, 55579, 666667, 7777801, 88888901, 1000000007, 10101010101010101073, 1111111111111111111189, 121212121212121212121327, 13131313131313131313131439, 1414141414141414141414141451, 151515151515151515151515151607, 16161616161616161616161616161709, 1717171717171717171717171717171741 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
Dana Jacobsen, Table of n, a(n) for n = 1..332 (last entry has 996 digits)
Eric Weisstein's World of Mathematics, Next Prime.
FORMULA
a(n) = A007918(A000461(n)).
a(n) = A000040(A000720(A000461(n))+1).
EXAMPLE
a(5) = 55579, since this is the next prime after 55555.
MAPLE
a:= n-> nextprime(parse(cat(n$n))):
seq(a(n), n=1..20); # Alois P. Heinz, Aug 18 2016
MATHEMATICA
Table[NextPrime[n ((10^(n Floor[Log[10, 10 n]]) - 1)/(10^Floor[Log[10, 10 n]] - 1)), Plus[1]], {n, 1, 17}]
PROG
(PARI) a000461(n) = my(i=1, k=n); while(i < n, k=eval(Str(k, n)); i++); k
a(n) = nextprime(a000461(n)) \\ Felix Fröhlich, Aug 18 2016
(Perl) use ntheory ":all"; sub a276025 { my $n=shift; next_prime("$n" x $n); } Dana Jacobsen, Aug 22 2016
CROSSREFS
Sequence in context: A173935 A216549 A091693 * A211925 A277830 A197740
KEYWORD
nonn,base
AUTHOR
Ilya Gutkovskiy, Aug 16 2016
STATUS
approved

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 09:18 EDT 2024. Contains 371935 sequences. (Running on oeis4.)