OFFSET
0,2
EXAMPLE
For n = 101: 101 + A345110(101) = 101 + 11 = 112, so a(101) = 112.
MATHEMATICA
Array[#+FromDigits@RotateLeft@IntegerDigits@#&, 100, 0] (* Giorgos Kalogeropoulos, Jun 09 2021 *)
PROG
(PARI) eva(n) = subst(Pol(n), x, 10)
rot(vec) = if(#vec < 2, return(vec)); my(s=concat(Str(2), ".."), v=[]); s=concat(s, Str(#vec)); v=vecextract(vec, s); v=concat(v, vec[1]); v
a(n) = n + eva(rot(digits(n)))
(Python)
def rotl(s): return s[1:] + s[0]
def a(n): return n + int(rotl(str(n)))
print([a(n) for n in range(63)]) # Michael S. Branicky, Jun 09 2021
CROSSREFS
KEYWORD
nonn,base,easy
AUTHOR
Felix Fröhlich, Jun 09 2021
STATUS
approved