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

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A234912 Primes which become palindromic primes when the digits are rotated once to the left. 4
2, 3, 5, 7, 11, 101, 113, 331, 337, 991, 1013, 1019, 3037, 7079, 9091, 11131, 11383, 11393, 11939, 33151, 33353, 33757, 70079, 77191, 77323, 77747, 77797, 77969, 77999, 99787, 100019, 101141, 101333, 101383, 101747, 101797, 101939, 101999, 303151, 303727 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

LINKS

Chai Wah Wu, Table of n, a(n) for n = 1..10000

EXAMPLE

The prime 113 is in the sequence because 131 is a palindromic prime.

PROG

(PARI) rotl(a) = my(b, c, d); b=#Str(a); c=floor(a/(10^(b-1))); d=a-c*(10^(b-1)); 10*d+c

revint(n) = my(m=n%10); n\=10; while(n>0, m=m*10+n%10; n\=10); m

s=[]; forprime(n=2, 1000000, r=rotl(n); if(isprime(r) && revint(r)==r, s=concat(s, n))); s

CROSSREFS

Cf. A235000.

Sequence in context: A083393 A182051 A052480 * A083137 A180440 A077652

Adjacent sequences:  A234909 A234910 A234911 * A234913 A234914 A234915

KEYWORD

nonn,base

AUTHOR

Colin Barker, Jan 02 2014

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 November 20 14:54 EST 2019. Contains 329337 sequences. (Running on oeis4.)