|
|
A155786
|
|
Primes whose first and last digits differ by 1.
|
|
0
|
|
|
23, 43, 67, 89, 211, 223, 233, 241, 251, 263, 271, 281, 283, 293, 433, 443, 463, 607, 617, 647, 677, 809, 827, 829, 839, 857, 859, 877, 887, 2003, 2011, 2053, 2063, 2081, 2083, 2111, 2113, 2131, 2141, 2143, 2153, 2161, 2203, 2213, 2221, 2243, 2251, 2273
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,1
|
|
LINKS
|
|
|
EXAMPLE
|
211 is a prime and its first and last digits differ by |2 - 1| = 1, so 211 is a term.
103 is a prime but its first and last digits differ by |1 - 3| = 2, so 103 is not a term.
|
|
PROG
|
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,base,less
|
|
AUTHOR
|
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|