|
|
A263478
|
|
Total number of n-digit positive integers with multiplicative digital root value 4.
|
|
7
|
|
|
1, 9, 55, 214, 615, 1451, 3829, 60180, 939045, 8732485, 56961531, 289887214, 1229099287, 4756606869, 24218431805, 233925901576, 2661527233449, 25685325408201, 203451565638511, 1356903584035110, 7832822232934951, 40022453239462639, 184228949831881593
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,2
|
|
COMMENTS
|
|
|
LINKS
|
|
|
FORMULA
|
|
|
MATHEMATICA
|
Last /@ Tally@ IntegerLength@ Select[Range@ 1000000, FixedPoint[Times @@ IntegerDigits@ # &, #] == 4 &] (* 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) == 4, 1, 0)); \\ Altug Alkan, Oct 19 2015
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,base
|
|
AUTHOR
|
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|