OFFSET
1,6
FORMULA
a(n) = 100 - n*[100/n] where [x] = floor.
a(n) = 100 for n > 100.
EXAMPLE
a(17)= 15 because [100/17] = 5, remainder is 15 (17*5 = 85, 100-85 = 15).
MATHEMATICA
Mod[100, Range[80]] (* Harvey P. Dale, Jun 01 2020 *)
PROG
(PARI) a(n) = 100 % n \\ Michel Marcus, Jun 29 2013
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Andy Edwards (AndynGen(AT)aol.com), Feb 28 2004
EXTENSIONS
More terms from David Wasserman, Feb 23 2006
STATUS
approved