OFFSET
1,2
COMMENTS
First differences of A263473.
LINKS
Hiroaki Yamanouchi, Table of n, a(n) for n = 1..50
Index entries for linear recurrences with constant coefficients, signature (9,-36,84,-126,126,-84,36,-9,1).
FORMULA
A263476(n) + A000012(n) + A263477(n) + A000027(n) + A263478(n) + a(n) + A263480(n) + A000027(n) + A263481(n) + A000217(n) = A052268(n).
a(n) = (1/720)*(3*n^8 + 6*n^7 - 664*n^6 + 6270*n^5 - 25783*n^4 + 55164*n^3 - 57796*n^2 + 23520*n). - Sergio Pimentel, Mar 27 2024
From Chai Wah Wu, Apr 17 2024: (Start)
a(n) = 9*a(n-1) - 36*a(n-2) + 84*a(n-3) - 126*a(n-4) + 126*a(n-5) - 84*a(n-6) + 36*a(n-7) - 9*a(n-8) + a(n-9) for n > 9.
G.f.: x*(235*x^7 - 205*x^6 - 161*x^5 - 57*x^4 + 33*x^3 - 15*x^2 + 3*x - 1)/(x - 1)^9. (End)
MATHEMATICA
Last /@ Tally@ IntegerLength@ Select[Range@ 1000000, FixedPoint[Times @@ IntegerDigits@ # &, #] == 5 &] (* Michael De Vlieger, Oct 21 2015 *)
PROG
(PARI) t(k) = {while(k>9, k=prod(i=1, #k=digits(k), k[i])); k}
a(n) = sum(i=10^(n-1), 10^n - 1, if(t(i) == 5, 1, 0)); \\ Altug Alkan, Oct 19 2015
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Martin Renner, Oct 19 2015
EXTENSIONS
a(9)-a(30) from Hiroaki Yamanouchi, Oct 25 2015
STATUS
approved