|
|
A321243
|
|
a(n) is the product of n and all its decimal digits individually except the leftmost digit.
|
|
1
|
|
|
0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 0, 11, 24, 39, 56, 75, 96, 119, 144, 171, 0, 21, 44, 69, 96, 125, 156, 189, 224, 261, 0, 31, 64, 99, 136, 175, 216, 259, 304, 351, 0, 41, 84, 129, 176, 225, 276, 329, 384, 441, 0, 51, 104, 159, 216, 275, 336, 399, 464, 531
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
0,3
|
|
COMMENTS
|
First differs from A067079 at n=102: A067079(102) = 408 != a(102) = 0.
|
|
LINKS
|
|
|
EXAMPLE
|
a(33) = 33*3 = 99. a(234) = 234*3*4 = 2808.
|
|
MATHEMATICA
|
a[n_] := n * If[n<10, 1, Times@@Rest[IntegerDigits[n]]]; Array[a, 100, 0] (* Amiram Eldar, Nov 15 2018 *)
Table[n Times@@Rest[IntegerDigits[n]], {n, 0, 60}] (* Harvey P. Dale, Mar 06 2023 *)
|
|
PROG
|
(Python 3) for letter in range(len(str(n))):
if letter != 0:
seq_num = seq_num * int(n[letter])
##seq_num = a(n)
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,base
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|