|
|
A248794
|
|
a(n) = the smallest number k for which the sum of digits (A007953(k)) and the product of digits (A007954(k)) are both equal to highly composite numbers A002473, i.e., numbers whose prime divisors are all <= 7.
|
|
2
|
|
|
1, 2, 3, 4, 5, 6, 7, 8, 9, 11125, 111126, 1111127, 111111135, 11111128, 111111129, 1111111111145, 1111111111137, 111111111111138, 11111111111111155, 11111111111111139, 1111111111111111147, 111111111111111111156, 1111111111111111111148, 1111111111111111111111157
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,2
|
|
COMMENTS
|
See comment in A034710 (positive numbers for which the sum of digits equals the product of digits).
|
|
LINKS
|
|
|
EXAMPLE
|
|
|
PROG
|
(Magma) A248794:=func<n|exists(r){k:k in[1..10^n] | &*Intseq(k) eq &+Intseq(k) and &*Intseq(k) eq n}select r else 0>; [A248794(n):n in[A002473(n)]]
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,base
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|