login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A364136 a(n) is the number of distinct products of nonempty submultisets of the digits of n. 1
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 3, 3, 3, 3, 3, 3, 3, 2, 2, 3, 2, 3, 3, 3, 3, 3, 3, 2, 2, 3, 3, 2, 3, 3, 3, 3, 3, 2, 2, 3, 3, 3, 2, 3, 3, 3, 3, 2, 2, 3, 3, 3, 3, 2, 3, 3, 3, 2, 2, 3, 3, 3, 3, 3, 2, 3, 3, 2, 2, 3, 3, 3, 3, 3, 3, 2, 3, 2 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,11
COMMENTS
a(n) <= A000005(A051801(n)). - David A. Corneth, Mar 05 2024
LINKS
EXAMPLE
n = 10: products of digits are {0, 1, 0*1}, distinct products of digits are {0, 1}, thus a(10) = 2.
n = 11: products of digits are {1, 1*1}, distinct product of digits is {1}, thus a(11) = 1.
n = 23: products of digits are {2, 3, 2*3}, distinct products of digits are {2, 3, 6}, thus a(23) = 3.
PROG
(PARI) a(n) = {if(n==0, return(1));
my(d = vecsort(digits(n)), l = List());
for(i = 1, #d,
forvec(x = vector(i, j, [1, #d]),
c = vecprod(vector(i, j, d[x[j]]));
listput(l, c)
,
2
)
);
#Set(l)
} \\ David A. Corneth, Mar 05 2024
CROSSREFS
Sequence in context: A237684 A130634 A274828 * A257474 A257317 A163376
KEYWORD
base,nonn
AUTHOR
Ctibor O. Zizka, Jul 10 2023
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified August 3 08:07 EDT 2024. Contains 374885 sequences. (Running on oeis4.)