[go: up one dir, main page]

login
A036576
a(n) is the least number not of the form floor(k^2/n).
0
2, 1, 2, 3, 2, 3, 4, 5, 3, 5, 6, 7, 5, 6, 7, 8, 6, 7, 9, 10, 7, 9, 10, 11, 8, 10, 11, 13, 10, 11, 13, 14, 11, 13, 14, 15, 12, 14, 15, 17, 13, 15, 17, 18, 14, 16, 18, 19, 15, 17, 19, 21, 17, 19, 20, 22, 18, 20, 22, 23, 19, 21, 23, 24, 20, 22, 24, 26, 21, 23, 25, 27, 22, 25, 26, 28
OFFSET
1,1
FORMULA
a(n) = floor(m + n + 2*sqrt(m*n - 1))/4) where m = ((n-1) mod 4) + 1.
CROSSREFS
Sequence in context: A070086 A211990 A162618 * A171729 A356999 A127255
KEYWORD
nonn
STATUS
approved