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

 

Logo

Thanks to everyone who made a donation during our annual appeal!
To see the list of donors, or make a donation, see the OEIS Foundation home page.

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A192608 Numbers n such that the concatenation of n^5 n^4 n^3 n^2 n^1 n^0 is prime. 3
9, 39, 69, 228, 294, 594, 612, 801, 849, 921, 984, 1821, 1827, 1842, 1854, 1872, 1893, 1896, 2031, 2193, 2202, 2319, 2370, 2421, 2454, 2466, 2508, 2535, 2604, 2607, 2712, 2997, 3009, 3084, 3102, 3108, 3351, 3477, 3843, 3879, 3897, 3900, 3921, 4095, 4161 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

LINKS

Giovanni Resta, Table of n, a(n) for n = 1..1000

EXAMPLE

9 is in the list because the concatenation of 9^5 9^4 9^3 9^2 9^1 9^0 is 5904965617298191 and this number is prime.

PROG

(PARI) isok(n) = {s = ""; for(i=0, 5, s = concat(Str(n^i), s)); isprime(eval(s)); } \\ Michel Marcus, Feb 04 2014

(PARI) is(n)=isprime(eval(Str(n^5, n^4, n^3, n^2, n, 1))) \\ Charles R Greathouse IV, Feb 04 2014

CROSSREFS

Cf. A192609, A192610.

Sequence in context: A213583 A050854 A053181 * A158447 A281381 A226449

Adjacent sequences:  A192605 A192606 A192607 * A192609 A192610 A192611

KEYWORD

nonn,base

AUTHOR

Claudio Meller, Jul 05 2011

EXTENSIONS

Extended by Charles R Greathouse IV, Jul 05 2011

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 January 23 19:36 EST 2020. Contains 331175 sequences. (Running on oeis4.)