OFFSET
1,10
COMMENTS
There is an interesting pattern on the graph of the sequence.
LINKS
Paolo Xausa, Table of n, a(n) for n = 1..10000
EXAMPLE
For n = 129: 1*2*9=18. So a(n) = (129-18)*(-1)^18 = 111.
MATHEMATICA
A376257[n_] := (n - #)*(-1)^# & [Times @@ IntegerDigits[n]];
Array[A376257, 100] (* Paolo Xausa, Dec 10 2024 *)
CROSSREFS
KEYWORD
AUTHOR
Stuart Coe, Sep 17 2024
STATUS
approved