OFFSET
0,2
COMMENTS
Inspired by A103271, prime(n)+prime(n+1) mod 4.
FORMULA
a(n) = A007504(n) mod 4.
PROG
(PARI) A272356(n, print_all=1, a=Mod(0, 4))={n&&forprime(p=2, , a+=p; print_all&&print1(lift(a)", "); n--||break); lift(a)}
CROSSREFS
KEYWORD
nonn
AUTHOR
M. F. Hasler, Apr 26 2016
STATUS
approved