%I #19 Jun 11 2022 14:08:47
%S 0,6,3,9,6,3,9,6,3,9,6,3,9,6,3,9,6,3,9,6,3,9,6,3,9,6,3,9,6,3,9,6,3,9,
%T 6,3,9,6,3,9,6,3,9,6,3,9,6,3,9,6,3,9,6,3,9,6,3,9,6,3,9,6,3,9,6,3,9,6,
%U 3,9,6,3,9,6,3,9,6,3,9,6,3,9,6,3,9,6,3,9,6,3,9,6,3,9,6,3,9,6,3,9,6,3,9,6,3
%N Digital root of 6n.
%C Period of 3. - _Robert G. Wilson v_, Sep 20 2010
%H <a href="/index/Rec#order_03">Index entries for linear recurrences with constant coefficients</a>, signature (0,0,1).
%F G.f.: 3*x*(2 + x + 3*x^2)/(1 - x^3). - _Stefano Spezia_, Apr 21 2022
%F a(n) = A010888(A008588(n)). - _Michel Marcus_, Apr 24 2022
%t f[n_] := Mod[6 n - 1, 9] + 1; f[0] = 0; Array[f, 105, 0] (* _Robert G. Wilson v_, Sep 20 2010 *)
%t PadRight[{0},120,{9,6,3}] (* _Harvey P. Dale_, Dec 18 2012 *)
%Y Cf. A010888, A008588.
%Y Cf. A180592, A180593, A180594, A180595, A180597, A180598, A180599.
%Y Column k = 6 in A353109.
%K easy,nonn,base
%O 0,2
%A _Odimar Fabeny_, Sep 10 2010
%E More terms from _Robert G. Wilson v_, Sep 20 2010