OFFSET
0,3
COMMENTS
a(n) is the fourth row of the array in A141803. - Andrey Zabolotskiy, May 16 2016
LINKS
Michael De Vlieger, Table of n, a(n) for n = 0..10000
Glen Joyce C. Dulatre, Jamilah V. Alarcon, Vhenedict M. Florida and Daisy Ann A. Disu, On Fractal Sequences, DMMMSU-CAS Science Monitor (2016-2017) Vol. 15 No. 2, 109-113.
Robert Walker, Self Similar Sloth Canon Number Sequences
FORMULA
MATHEMATICA
Mod[Total@ IntegerDigits[#, 5], 5] & /@ Range[0, 120] (* Michael De Vlieger, May 17 2016 *)
PROG
(PARI) a(n) = vecsum(digits(n, 5)) % 5; \\ Michel Marcus, May 16 2016
CROSSREFS
KEYWORD
base,nonn
AUTHOR
Henry Bottomley, Mar 28 2000
STATUS
approved