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

A174189
Numbers k such that A000040(k) +/- A163300(k) are both prime.
0
1, 7, 9, 12, 24, 30, 36, 63, 90, 102, 117, 126, 135, 150, 156, 165, 171, 180, 183, 225, 234, 270, 285, 369, 390, 399, 402, 447, 456, 501, 507, 537, 570, 582, 624, 627, 642, 651, 654, 660, 720, 735, 762, 777, 855, 864, 870, 885, 930, 936, 945
OFFSET
1,2
FORMULA
a(n) = A112529(n-1) for n >= 2. - Georg Fischer, Oct 24 2018
EXAMPLE
a(1) = 1 because 2-0 = 2 is prime, and 2+0 = 2 is prime.
a(2) = 7 because 17-14 = 3 is prime, and 17+14 = 31 is prime.
a(3) = 9 because 23-18 = 5 is prime, and 23+18 = 41 is prime.
CROSSREFS
KEYWORD
nonn
AUTHOR
EXTENSIONS
Corrected (11 replaced by 12, 128 replaced by 126) and extended by R. J. Mathar, Apr 16 2010
STATUS
approved