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

A080863
Numbers n such that spf(n)-2 = spf(n+2), where spf=A020639 (smallest prime factor).
2
25, 55, 85, 115, 145, 175, 203, 205, 235, 265, 295, 325, 355, 385, 413, 415, 445, 475, 505, 535, 565, 595, 623, 625, 655, 685, 715, 745, 775, 805, 833, 835, 865, 895, 925, 955, 985, 1015, 1043, 1045, 1075, 1105, 1135, 1165, 1195, 1225, 1253, 1255, 1285
OFFSET
1,1
COMMENTS
(spf(n+2),spf(n)) are twin prime pairs.
LINKS
EXAMPLE
16151=31*521, 16151+2=16153=29*557 and (29,31)=(A001359(5), A006512(5)), therefore 16151 is a term: a(625)=16151, A080864(625)=16153.
MATHEMATICA
Flatten[Position[Partition[Table[FactorInteger[n][[1, 1]], {n, 1300}], 3, 1], _?(#[[1]]-2==#[[3]]&), {1}, Heads->False]] (* Harvey P. Dale, Mar 07 2016 *)
CROSSREFS
Cf. A080864(n)=a(n)+2, A001359, A006512.
Sequence in context: A276448 A176275 A108166 * A339729 A091214 A338009
KEYWORD
nonn
AUTHOR
Reinhard Zumkeller, Feb 21 2003
STATUS
approved