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

A375198
Numbers k such that A025487(k)-1 and A025487(k)+1 are twin primes.
2
3, 4, 6, 9, 13, 15, 20, 21, 24, 29, 30, 42, 54, 56, 59, 72, 77, 83, 96, 104, 105, 109, 138, 161, 166, 174, 186, 203, 208, 221, 232, 237, 266, 270, 288, 295, 336, 338, 347, 387, 389, 395, 400, 401, 449, 468, 469, 472, 479, 506, 520, 543, 584, 617, 633, 643, 668
OFFSET
1,1
LINKS
FORMULA
A025487(a(n)) = A375197(n).
MATHEMATICA
Position[Cases[Import["https://oeis.org/A025487/b025487.txt", "Table"], {_, _}][[;; , 2]], _?(PrimeQ[# - 1] && PrimeQ[# + 1] &)] // Flatten
CROSSREFS
Similar sequences: A321995, A353302.
Sequence in context: A140570 A285303 A135072 * A032720 A289117 A355697
KEYWORD
nonn
AUTHOR
Amiram Eldar, Aug 04 2024
STATUS
approved