OFFSET
0,1
LINKS
Index entries for linear recurrences with constant coefficients, signature (1,0,0,0,0,0,0,0,0,1,-1).
FORMULA
a(n) = 1000n + O(1).
G.f.: (988*x^10 +111*x^9 +1011*x^8 +1101*x^7 +1111*x^6 +1111*x^5 +1111*x^4 +1111*x^3 +1111*x^2 +1111*x +123) / (x^11 -x^10 -x +1). - Alois P. Heinz, Jul 05 2022
MAPLE
a:= n-> (d-> parse(cat(n, irem(d+i, 10)$i=1..3)))(irem(n, 10)):
seq(a(n), n=0..40); # Alois P. Heinz, Jul 05 2022
PROG
(Python)
def a(n): return int(str(n) + "".join(str((n%10+1+i)%10) for i in range(3)))
print([a(n) for n in range(39)]) # Michael S. Branicky, Jul 05 2022
CROSSREFS
KEYWORD
nonn,base,easy
AUTHOR
Felix Tubiana, Oct 30 2009
EXTENSIONS
More terms from Alois P. Heinz, Jul 05 2022
STATUS
approved