OFFSET
1,2
COMMENTS
Infinite cyclic sequence with a(44*j+k)=a(k) and 0 < k < 45 with all and only one time the 44th first integers > 0.
Periodic with period = 44. - Harvey P. Dale, Nov 04 2019
LINKS
Index entries for linear recurrences with constant coefficients, signature (0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1).
MAPLE
A089756 := proc(n)
option remember;
if n = 1 then
1;
else
if procname(n-1) > 35 then
procname(n-1)-35 ;
else
procname(n-1)+9 ;
end if;
end if;
end proc:
seq(A089756(n), n=1..100) ; # R. J. Mathar, Feb 28 2019
MATHEMATICA
NestList[If[#<36, #+9, #-35]&, 1, 80] (* Harvey P. Dale, Nov 04 2019 *)
CROSSREFS
KEYWORD
nonn,easy,less
AUTHOR
Pierre CAMI, Jan 08 2004
STATUS
approved