OFFSET
0,4
COMMENTS
Motivation: A294673(n), which is always <= 2n+1, equals n in most cases. This sequence abstracts out that commonality to leave a cleaner signal.
PROG
(PARI) a(n) = (2*n+1) - znorder(Mod(if(n%2, 2, -2), 4*n+3)); \\ Michel Marcus, May 26 2018
CROSSREFS
KEYWORD
nonn
AUTHOR
P. Michael Hutchins, May 26 2018
STATUS
approved