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!)
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 (list; graph; refs; listen; history; text; internal format)
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

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 May 8 19:26 EDT 2024. Contains 372341 sequences. (Running on oeis4.)