OFFSET
0,4
LINKS
Olivier Gérard (first 1001 terms) & Antti Karttunen, Table of n, a(n) for n = 0..16796
FORMULA
a(0) = 0, a(n) = 1 + a(n-A081290(n)). - Antti Karttunen, Jul 02 2014
PROG
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
STATUS
approved