login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A072366
Numbers x such that x + reverse of x is a prime.
7
1, 10, 100, 116, 118, 140, 142, 146, 158, 166, 170, 172, 178, 182, 188, 190, 196, 215, 217, 229, 239, 241, 245, 257, 265, 269, 271, 277, 281, 287, 295, 299, 314, 316, 328, 338, 340, 344, 356, 364, 368, 370, 376, 380, 386, 394, 398, 413, 415, 427, 437, 439
OFFSET
1,2
EXAMPLE
116 is a term because 116+611=727 is a prime.
MATHEMATICA
Select[Range[1000], PrimeQ[ # + FromDigits[Reverse[IntegerDigits[ # ]]]] &] (* Tanya Khovanova, Jul 23 2007 *)
PROG
(PARI) isok(n) = isprime(n+subst(Polrev(digits(n)), x, 10)); \\ Michel Marcus, Nov 29 2014
CROSSREFS
Sequence in context: A167502 A135652 A035504 * A349316 A119082 A116143
KEYWORD
base,easy,nonn
AUTHOR
Shyam Sunder Gupta, Jul 18 2002
STATUS
approved