[go: up one dir, main page]

login
A161352
a(n) = n + R(n) + digsum(n) + product of the digits of n.
0
0, 4, 8, 12, 16, 20, 24, 28, 32, 36, 12, 25, 38, 51, 64, 77, 90, 103, 116, 129, 24, 38, 52, 66, 80, 94, 108, 122, 136, 150, 36, 51, 66, 81, 96, 111, 126, 141, 156, 171, 48, 64, 80, 96, 112, 128, 144, 160, 176, 192, 60, 77, 94, 111, 128, 145, 162, 179, 196, 213, 72, 90, 108
OFFSET
0,2
COMMENTS
a(1)= 1 + 1 + 1 + 1 = 4 ; a(12) = 12 + 21 + 3 + 2 = 38.
MATHEMATICA
a[n_]:=n+IntegerReverse[n]+Total[IntegerDigits[n]]+Times@@IntegerDigits[n]; Array[a, 63, 0] (* Stefano Spezia, Feb 09 2023 *)
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Claudio Meller, Jun 07 2009
EXTENSIONS
a(0) = 0 prepended by Stefano Spezia, Feb 09 2023
STATUS
approved