OFFSET
0,2
COMMENTS
This sequence is one of many possible solutions to puzzle 16 on the Meerdaelquiz puzzle page, cf. the Delestinne link and A090805.
LINKS
Alois P. Heinz, Table of n, a(n) for n = 0..450
Hugo Delestinne, Meerdaelquiz [broken link]
N. J. A. Sloane and Brady Haran, A Sequence with a Mistake, Numberphile video (2021)
MAPLE
a:= proc(n) a(n):= n*a(n-1) + n^signum(n mod 4) end: a(0):= 1:
seq(a(n), n=0..23);
CROSSREFS
KEYWORD
nonn
AUTHOR
Alois P. Heinz, May 12 2021
STATUS
approved