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

A107794
Numbers n such that both n plus its first digit and n minus its first digit are primes.
0
12, 18, 21, 34, 65, 67, 81, 92, 98, 102, 108, 138, 150, 180, 192, 198, 225, 231, 279, 310, 314, 334, 350, 356, 370, 376, 386, 405, 435, 453, 483, 495, 504, 552, 582, 607, 613, 625, 637, 647, 653, 667, 726, 750, 780, 819, 831, 920, 928, 938, 962, 1020, 1032, 1050
OFFSET
1,1
COMMENTS
Average of pairs: 66,3255,3465,6696,6786,6954,9429,31725,34845,60096,...
MATHEMATICA
Select[ Range[1060], PrimeQ[ # + IntegerDigits[ # ][[1]]] && PrimeQ[ # - IntegerDigits[ # ][[1]]] &]
CROSSREFS
Intersection of A107835 & A107836.
Sequence in context: A171674 A247624 A031207 * A280014 A359929 A162151
KEYWORD
base,nonn
AUTHOR
STATUS
approved