login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A030471 Primes which are concatenations of four consecutive numbers. 4
4567, 14151617, 20212223, 34353637, 58596061, 64656667, 118119120121, 140141142143, 148149150151, 176177178179, 196197198199, 218219220221, 220221222223, 236237238239, 238239240241, 268269270271, 278279280281 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

COMMENTS

There are no primes which are concatenations of three consecutive numbers, in fact all such concatenations are divisible by 3. - Zak Seidov, Oct 25 2014

LINKS

Zak Seidov, Table of n, a(n) for n = 1..1000

MAPLE

P:=proc(i) local a, n; for n from 0 by 1 to i do a=n*10^(trunc(evalf(log10(n+1)+1))+trunc(evalf(log10(n+2)+1))+trunc(evalf(log10(n+3)+1)))+(n+1)*10^(trunc(evalf(log10(n+2)+1))+trunc(evalf(log10(n+3)+1)))+(n+2)*10^(trunc(evalf(log10(n+3)+1)))+n+3; if isprime(a) then print(a); fi; od; end: P(1000); # Paolo P. Lava, Oct 01 2008

PROG

(PARI) lista(nn) = for(n=1, nn, if (isprime(q=eval(concat(concat(concat(Str(n), Str(n+1)), Str(n+2)), Str(n+3)))), print1(q, ", "))); \\ Michel Marcus, Oct 26 2014

CROSSREFS

Cf. A030470, A084551.

Sequence in context: A032751 A020436 A104947 * A234677 A252063 A068756

Adjacent sequences:  A030468 A030469 A030470 * A030472 A030473 A030474

KEYWORD

nonn,base

AUTHOR

Patrick De Geest

EXTENSIONS

Edited by Charles R Greathouse IV, Apr 23 2010

STATUS

approved

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified September 23 12:30 EDT 2020. Contains 337310 sequences. (Running on oeis4.)