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

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A029978 Primes that are palindromic in base 11. 3
2, 3, 5, 7, 199, 277, 421, 443, 499, 521, 587, 643, 709, 743, 787, 809, 887, 953, 1009, 1031, 1109, 1153, 1231, 1297, 1319, 15731, 16831, 19031, 19273, 20857, 22441, 23057, 25741, 27809, 28183, 28909, 31231, 32089, 32573, 34157, 35257 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

LINKS

John Cerkan, Table of n, a(n) for n = 1..10000

P. De Geest, World!Of Palindromic Primes

MATHEMATICA

f[n_]:=FromDigits[RealDigits[n, 11][[1]]]==FromDigits[Reverse[RealDigits[n, 11][[1]]]]; lst={}; Do[p=Prime[n]; If[f[p], AppendTo[lst, p]], {n, 8!}]; lst (* Vladimir Joseph Stephan Orlovsky, Aug 10 2009 *)

Select[Prime@ Range@ 4000, PalindromeQ@ IntegerDigits[#, 11] &] (* Michael De Vlieger, May 16 2017, Version 10.3 *)

PROG

(PARI) isok(n) = if (isprime(n), my(d=digits(n, 11)); d == Vecrev(d)); \\ Michel Marcus, May 15 2017

CROSSREFS

Sequence in context: A083184 A046478 A046475 * A122764 A256886 A195302

Adjacent sequences:  A029975 A029976 A029977 * A029979 A029980 A029981

KEYWORD

nonn,base

AUTHOR

Patrick De Geest

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 | More pages
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy .

Last modified June 29 12:13 EDT 2017. Contains 288860 sequences.