OFFSET
1,4
COMMENTS
Lengths of runs, where a run is a succession of primes that are congruent mod 4.
In other words, RUNS transform of A039702. If the two initial 1's are omitted, this is the RUNS transform of A100672. - N. J. A. Sloane, Jan 11 2025
LINKS
T. D. Noe, Table of n, a(n) for n = 1..10000
MATHEMATICA
Most[Length /@ Split[Table[Mod[Prime[n], 4], {n, 200}]]] (* T. D. Noe, Sep 21 2012 *)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
N. J. A. Sloane, Feb 22 2004
EXTENSIONS
More terms from David Wasserman, Feb 28 2006
STATUS
approved
