login
This site is supported by donations to The OEIS Foundation.
Logo

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A058997 Least power k greater than 1 for which n^k reversed is a prime, or 0 if impossible. 0
0, 4, 0, 2, 3, 0, 12, 8, 0, 0, 0, 0, 379, 2, 0, 6, 11, 0, 2, 0, 0, 0, 8, 0, 13, 47, 0, 2, 7, 0, 4, 2, 0 (list; graph; refs; listen; history; internal format)
OFFSET

1,2

MATHEMATICA

Do[ If[ Mod[ n, 3 ] != 0 && Mod[ n, 10 ] != 0 && Mod[ n, 11 ] != 0, k = 2; While[ !PrimeQ[ ToExpression[ StringReverse[ ToString[ n^k ] ] ] ], k++ ]; Print[ k ], Print[ 0 ] ], {n, 2, 33} ]

CROSSREFS

Sequence in context: A180850 A109157 A123314 * A201399 A145894 A021881

Adjacent sequences:  A058994 A058995 A058996 * A058998 A058999 A059000

KEYWORD

base,nonn

AUTHOR

Robert G. Wilson v (rgwv(AT)rgwv.com), Jan 17 2001

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
Recent Additions | More pages | Superseeker | Maintained by The OEIS Foundation Inc.

Content is available under The OEIS End-User License Agreement .

Last modified February 17 16:13 EST 2012. Contains 206050 sequences.