OFFSET
0,2
COMMENTS
After a(0)=1, each term a(n) is either (a) one more than its predecessor, in case 4n+1 and 4n+3 are both squarefree, (b) stays same if only the other one is squarefree, or (c) decreases by one if neither 4n+1 nor 4n+3 are squarefree.
LINKS
Antti Karttunen, Table of n, a(n) for n = 0..10000
FORMULA
PROG
CROSSREFS
KEYWORD
nonn
AUTHOR
Antti Karttunen, Oct 16 2017
STATUS
approved