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

A379055
a(n) = composite(2*n+3) - composite(2*n+1).
2
4, 2, 4, 2, 4, 2, 3, 2, 3, 3, 2, 3, 2, 4, 2, 3, 2, 3, 2, 2, 4, 2, 2, 3, 3, 3, 2, 3, 2, 3, 2, 3, 2, 2, 2, 3, 3, 3, 3, 3, 3, 2, 2, 2, 2, 2, 2, 3, 3, 2, 2, 4, 2, 2, 2, 2, 4, 2, 2, 3, 2, 3, 2, 3, 2, 3, 2, 2, 4, 2, 2, 2, 2, 4, 2, 4, 2, 2, 2, 2, 2, 3, 2, 2, 2, 2, 3, 2, 4, 2
OFFSET
0,1
MATHEMATICA
Differences[Select[Range[300], CompositeQ][[;; ;; 2]]] (* Paolo Xausa, Dec 18 2024 *)
CROSSREFS
First differences of A099861.
Sequence in context: A064127 A178253 A209272 * A105397 A373422 A328999
KEYWORD
nonn,changed
AUTHOR
N. J. A. Sloane, Dec 18 2024
STATUS
approved