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!)
A277689 Primes that become palindromic primes when the most significant digit is deleted. 2
13, 17, 23, 37, 43, 47, 53, 67, 73, 83, 97, 103, 107, 211, 307, 311, 503, 607, 811, 907, 911, 1151, 1181, 1373, 1787, 2003, 2011, 2131, 2383, 2797, 3011, 3181, 3191, 3313, 3373, 3727, 3797, 3919, 3929, 4003, 4007, 4373, 4787, 4919, 5003, 5011, 5101, 6007 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
Chai Wah Wu, Table of n, a(n) for n = 1..13189 (a(n) for n = 1..1000 from Colin Barker).
MATHEMATICA
ppQ[n_]:=Module[{c=FromDigits[Rest[IntegerDigits[n]]]}, PrimeQ[c] && PalindromeQ[ c]]; Select[Prime[Range[1000]], ppQ] (* Harvey P. Dale, Aug 04 2018 *)
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) = m=n%10; n\=10; while(n>0, m=m*10+n%10; n\=10); m
L=List(); forprime(n=2, 100000, r=rotl(n)\10; if(isprime(r) && revint(r)==r, listput(L, n))); Vec(L)
CROSSREFS
Sequence in context: A038680 A227916 A158072 * A240894 A244078 A126143
KEYWORD
nonn,base
AUTHOR
Colin Barker, Apr 11 2017
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 24 04:14 EDT 2024. Contains 371918 sequences. (Running on oeis4.)