OFFSET
1,2
MATHEMATICA
a[n_] := GCD @@ Apply[{Plus @@ #, Times @@ #} &, {IntegerDigits[n]}]; Array[a, 100] (* Amiram Eldar, Jan 26 2024 *)
CROSSREFS
KEYWORD
nonn,base,easy
AUTHOR
Ctibor O. Zizka, Jan 25 2024
STATUS
approved