login
A244988
a(n) = n - A244989(n).
5
1, 1, 2, 2, 2, 3, 4, 4, 5, 5, 5, 6, 7, 8, 8, 8, 8, 9, 10, 10, 11, 11, 11, 12, 12, 13, 14, 15, 16, 16, 16, 16, 16, 16, 17, 18, 19, 20, 21, 21, 21, 22, 23, 23, 23, 23, 23, 24, 25, 25, 25, 26, 27, 28, 28, 29, 30, 31, 31, 31, 32, 32, 33, 33, 34, 34, 34, 34, 34, 35, 36
OFFSET
1,3
LINKS
FORMULA
a(n) = n - A244989(n).
For all n >= 1, a(A244990(n)) = n. [This sequence works as an inverse function for the injection A244990].
PROG
(Scheme) (define (A244988 n) (- n (A244989 n)))
CROSSREFS
KEYWORD
nonn
AUTHOR
Antti Karttunen, Jul 22 2014
STATUS
approved