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”).

A121882
Numbers k such that k + D(k) + 1 is prime, where D() are the doublets, A020338.
1
1, 3, 5, 6, 8, 9, 10, 11, 13, 14, 15, 21, 23, 25, 28, 30, 31, 34, 35, 36, 38, 45, 49, 50, 53, 60, 63, 64, 66, 69, 71, 74, 76, 79, 80, 81, 83, 90, 91, 99, 101, 105, 106, 108, 110, 113, 114, 124, 128, 130, 134, 135, 136, 140, 141, 143, 144, 150, 151, 159, 161, 163, 165
OFFSET
1,2
LINKS
EXAMPLE
9 is a term because 9 + 99 + 1 = 109 is prime.
MAPLE
filter:= n -> isprime(1+n*(2+10^(1+ilog10(n)))):
select(filter, [$1..1000]); # Robert Israel, Feb 23 2022
PROG
(PARI) isok(k) = isprime(k + eval(Str(k, k)) + 1); \\ Michel Marcus, Feb 25 2022
CROSSREFS
Cf. A020338.
Sequence in context: A094058 A288134 A175966 * A105206 A080036 A242535
KEYWORD
base,easy,nonn
AUTHOR
Jason Earls, Aug 31 2006
STATUS
approved