OFFSET
1,3
COMMENTS
Periodic with least period 60. - Christopher N. Swanson (cswanson(AT)ashland.edu), Jul 22 2003
From Hieronymus Fischer, Jul 01 2007: (Start)
The digital product analog (in base 10) of the Fibonacci recurrence.
a(n) and Fib(n)=A000045(n) are congruent modulo 10 which implies that (a(n) mod 10) is equal to (Fib(n) mod 10) = A003893(n). Thus (a(n) mod 10) is periodic with the Pisano period A001175(10)=60.
For general bases p>1, we have the inequality 1<=a(n)<=2p-2 (for n>0). Actually, a(n)<=18.
(End)
LINKS
Harvey P. Dale, Table of n, a(n) for n = 1..1000
FORMULA
From Hieronymus Fischer, Jul 01 2007: (Start)
a(n) = a(n-1)+a(n-2)-10*(floor(a(n-1)/10)+floor(a(n-2)/10)). This is valid, since a(n)<100.
a(n) = ds_10(a(n-1))+ds_10(a(n-2))-(floor(a(n-1)/10)+floor(a(n-2)/10)) where ds_10(x) is the digital sum of x in base 10.
a(n) = Fib(n)-10*sum{1<k<n, Fib(n-k+1)*floor(a(k)/10)} where Fib(n)=A000045(n).
MATHEMATICA
nxt[{a_, b_}]:={b, Times@@IntegerDigits[a]+Times@@IntegerDigits[b]}; Transpose[ NestList[nxt, {1, 1}, 90]][[1]] (* Harvey P. Dale, Feb 01 2015 *)
CROSSREFS
KEYWORD
base,easy,nonn
AUTHOR
Felice Russo, Sep 11 2002
EXTENSIONS
More terms from Christopher N. Swanson (cswanson(AT)ashland.edu), Jul 22 2003
Definition adapted to offset by Georg Fischer, Jun 18 2021
STATUS
approved