OFFSET
1,1
FORMULA
A017317 MINUS {n | n = 14 mod 100}.
a(n) = a(n-9) + 100, for n >= 10. - Michael S. Branicky, Apr 24 2021
EXAMPLE
Fifty-four (54) is a term; fourteen (14) is not a term (but is a term of A060228).
PROG
(Python)
def a(n): return (n-1)//9*100 + ((n-1)%9 + 1)*((n-1)%9 > 0)*10 + 4
print([a(n) for n in range(1, 55)]) # Michael S. Branicky, Apr 24 2021
CROSSREFS
KEYWORD
easy,nonn,word
AUTHOR
Rick L. Shepherd, Oct 20 2009
STATUS
approved