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!)
A059215 Least number k such that k^n reversed is a prime. 1
2, 4, 5, 2, 2, 16, 2, 8, 32, 2, 17, 4, 25, 28, 8, 53, 2, 25, 79, 95, 47, 46, 28, 2, 19, 5, 85, 86, 541, 32, 104, 314, 25, 115, 4, 5, 2, 25, 67, 71, 142, 226, 5, 53, 2, 304, 14, 106, 85, 8 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

LINKS

Table of n, a(n) for n=1..50.

MATHEMATICA

Do[ k = 2; While[ ! PrimeQ[ ToExpression[ StringReverse[ ToString[ k^n ] ] ] ], k++ ]; Print[ k ], {n, 1, 50} ]

lnk[n_]:=Module[{k=1}, While[!PrimeQ[IntegerReverse[k^n]], k++]; k]; Array[ lnk, 50] (* Requires Mathematica version 10 or later *) (* Harvey P. Dale, Mar 20 2021 *)

CROSSREFS

Sequence in context: A030750 A286147 A340755 * A125142 A234350 A324035

Adjacent sequences:  A059212 A059213 A059214 * A059216 A059217 A059218

KEYWORD

nonn,base

AUTHOR

Robert G. Wilson v, Jan 16 2001

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 July 6 12:26 EDT 2022. Contains 355110 sequences. (Running on oeis4.)