A164743 Digital root of 3*A000045(n).
3, 3, 6, 9, 6, 6, 3, 9, 3, 3, 6, 9, 6, 6, 3, 9, 3, 3, 6, 9, 6, 6, 3, 9, 3, 3, 6, 9, 6, 6, 3, 9
Offset: 1
Links
- Index entries for linear recurrences with constant coefficients, signature (0,0,0,0,0,0,0,1)
Formula
a(n+1) = sum of digits of a(n) + a(n-1).
G.f.: -3*x*(1+x+2*x^2+3*x^3+2*x^4+2*x^5+x^6+3*x^7) / ( (x-1)*(1+x)*(x^2+1)*(x^4+1) ). - R. J. Mathar, Nov 03 2016
Comments