|
|
|
|
1, 2, 3, 4, 5, 6, 7, 8, 9, 24, 45, 8643024
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,2
|
|
COMMENTS
|
This is similar to A349190 but with digits taken in reversed order.
|
|
LINKS
|
|
|
EXAMPLE
|
24 is a term because A349278(24) = 4*(4+2) = 4*6 = 24.
|
|
MATHEMATICA
|
f[n_] := Times @@ Accumulate @ Reverse @ IntegerDigits[n]; Select[Range[100], f[#] == # &] (* Amiram Eldar, Nov 13 2021 *)
|
|
PROG
|
(Python)
from math import prod
from itertools import accumulate
def ok(n):
return n == (0 if n%10==0 else prod(accumulate(map(int, str(n)[::-1]))))
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,base,more
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|