Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A058997
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A058997 Least power k greater than 1 for which n^k reversed is a prime, or 0 if impossible. +0
1
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; listen)
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: A090538 A109157 A123314 this_sequence A021881 A021717 A016679

Adjacent sequences: A058994 A058995 A058996 this_sequence A058998 A058999 A059000

KEYWORD

base,nonn

AUTHOR

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

page 1

Search completed in 0.002 seconds

Lookup | Welcome | Find friends | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
More pages | Superseeker | Maintained by N. J. A. Sloane (njas@research.att.com)

Last modified August 19 23:53 EDT 2008. Contains 142930 sequences.


AT&T Labs Research