OFFSET
0,3
LINKS
FORMULA
When n > 0 and A276084(n) is:
< 2 (i.e., when n is not a multiple of 6), then a(n) = A276086(n-1),
2 (n is multiple of 6, but not of 30), then a(n) = 2*A276086(n-5),
3 (multiple of 30, but not of 210), then a(n) = A276086(n-27),
4 (multiple of 210, but not of 2310), then a(n) = A276086(n-203),
5 (multiple of 2310, but not of 30030), then a(n) = 2*A276086(n-2307),
6 (multiple of 30030, but not of 510510), then a(n) = 8*A276086(n-30029),
7 (multiple of 510510, but not of 9699690), then a(n) = A276086(n-510505),
PROG
CROSSREFS
KEYWORD
nonn
AUTHOR
Antti Karttunen, Dec 02 2022
STATUS
approved