login
A276802
Non-repdigit numbers n such that A045876(n) ends with n.
1
554, 3328, 55553, 77764, 222221, 444442, 666663, 888865, 888884, 5555552, 6666595, 9999840, 33332680, 55555526, 66666557, 99998670, 333332176, 333333312, 555555551, 666665752, 666666624, 999997536, 999999936, 9999976480, 9999997844, 9999999668, 9999999923, 11111111110
OFFSET
1,1
EXAMPLE
554 is a term because 455+545+554 = 1554 that ends with 554.
2338 is the least term having its digits. For all permutations p of digits of n, in this case 2338, (without leading zeros if any), A045876(n) = A045876(p). A045876(2338) = 53328. It contains the digits of 2338 and ends with its digits permuted. 2338 has 4 digits, as has 53328 mod 10^4 so 53328 mod 10^4 == 3328 is a term. - David A. Corneth, Oct 04 2016
PROG
(PARI) A047726(n) = n=eval(Vec(Str(n))); (#n)!/prod(i=0, 9, sum(j=1, #n, n[j]==i)!);
A055642(n) = #Str(n);
A007953(n) = sumdigits(n);
A045876(n) = ((10^A055642(n)-1)/9)*(A047726(n)*A007953(n)/A055642(n));
isA010785(n) = {1==#Set(digits(n))}
is(n) = (A045876(n)-n) % 10^A055642(n) == 0 && !isA010785(n)
CROSSREFS
Cf. A045876, A139819 (non-repdigits), A179239.
Sequence in context: A247531 A171428 A045046 * A205888 A186529 A274901
KEYWORD
nonn,base
AUTHOR
Altug Alkan, Sep 17 2016
EXTENSIONS
More terms from David A. Corneth, Oct 06 2016
STATUS
approved