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!)
A067194 Sequence of prime numbers whose reverse is a nontrivial prime power (A025475). 2
23, 61, 163, 521, 821, 1297, 1861, 4201, 9049, 9631, 12391, 14437, 16987, 92767, 94273, 96979, 108061, 123031, 125329, 127291, 142771, 148249, 165901, 180289, 270131, 906421, 906727, 906751, 921931, 942013, 942691, 965443, 969407, 986641 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
EXAMPLE
23 is a prime and its reversal is 32 = 2^5.
MATHEMATICA
a = {}; Do[ If[ PrimeQ[n], b = ToExpression[ StringReverse[ ToString[n]]]; If[ !PrimeQ[b] && Mod[b, b - EulerPhi[b]] == 0, a = Append[a, n]]], {n, 1, 10^6} ]; a
Select[Prime[Range[80000]], PrimePowerQ[IntegerReverse[#]]&& CompositeQ[ IntegerReverse[ #]]&] (* Harvey P. Dale, Dec 25 2021 *)
PROG
(PARI) lista(nn) = {forprime(p=2, nn, if (ispower(subst(Polrev(digits(p)), x, 10), , &pp) && isprime(pp), print1(p, ", ")); ); } \\ Michel Marcus, Jun 03 2016
CROSSREFS
Sequence in context: A141870 A115685 A069798 * A355984 A355985 A232235
KEYWORD
nonn,base
AUTHOR
Shyam Sunder Gupta, Feb 19 2002
EXTENSIONS
Edited and extended by Robert G. Wilson v, Feb 19 2002 and Feb 24 2002
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 April 23 09:22 EDT 2024. Contains 371905 sequences. (Running on oeis4.)