|
|
A276739
|
|
Least k such that A045876(k) is divisible by 10^n.
|
|
0
|
|
|
|
OFFSET
|
0,2
|
|
COMMENTS
|
Corresponding values of A045876(k) are 1, 110, 3333300, 333333000, ...
Sequence is infinite.
|
|
LINKS
|
|
|
EXAMPLE
|
a(1) = 19 because 19+91 = 110 is divisible by 10.
|
|
MATHEMATICA
|
Table[k = 1; While[! Divisible[Total[FromDigits /@ Permutations@ IntegerDigits@ k], 10^n], k++]; k, {n, 0, 3}] (* Michael De Vlieger, Sep 16 2016 *)
|
|
PROG
|
(PARI) A047726(n) = n=digits(n); (#n)!/prod(i=0, 9, sum(j=1, #n, n[j]==i)!);
a(n) = {my(k = 1); while (A045876(k) % (10^n), k++); k; }
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,base,more
|
|
AUTHOR
|
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|