A249686 After A084937(n) has been computed, let m = largest term so far in A084937. Then a(n) = number of positive integers < m that are missing from A084937 at this point.
0, 0, 0, 1, 0, 1, 2, 1, 2, 3, 2, 5, 6, 5, 6, 7, 6, 5, 10, 9, 8, 7, 6, 7, 10, 9, 10, 13, 12, 13, 16, 15, 14, 15, 14, 13, 16, 15, 14, 15, 14, 13, 16, 15, 16, 17, 16, 17, 16, 15, 16, 17, 16, 17, 18, 17, 20, 21, 20, 23, 28, 27, 26, 27, 26, 25, 30, 29, 28, 27, 26, 25, 28
Offset: 1
Keywords
Examples
After step 7 of A084937, here is what we have: 1 2 3 4 5 6 7 ... n 1 2 3 5 4 7 9 ... A084937(n) so m = 9, and the missing numbers < 9 are 6 and 8, so a(7) = 2.
Links
- N. J. A. Sloane, Table of n, a(n) for n = 1..100000
Comments