[go: up one dir, main page]

login
A330721
Lexicographically earliest sequence of positive terms such that for any n > 0 and k > 0, a(n+k^2) <> floor(k/a(n)).
2
1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 3, 2, 3, 2, 2, 2, 2, 4, 2, 3, 2, 3, 2, 3, 2, 3, 3, 3, 3, 3, 3, 3, 3, 2, 3, 2, 3, 2, 3, 4, 3, 4, 2, 4, 2, 4, 3, 4, 3, 4, 2, 4, 2, 3, 2, 3, 2, 3, 4, 3, 4, 3, 4, 4, 4, 5, 3, 5, 3, 5, 3, 2, 3, 2, 3, 3, 3, 3, 5, 3, 5, 3, 5, 3, 5, 3, 2
OFFSET
1,2
COMMENTS
This sequence is a variant of A330636.
EXAMPLE
The first terms, alongside the corresponding forbidden values, are:
n a(n) k=1 k=2 k=3
-- ---- --- --- ---
1 1
2 2 1
3 1 0
4 2 1
5 1 0 2
6 2 1 1
7 1 0 2
8 2 1 1
9 1 0 2
10 2 1 1 3
11 3 0 2 1
12 2 0 1 3
PROG
(C) See Links section.
CROSSREFS
Cf. A330636.
Sequence in context: A303536 A259656 A096370 * A076622 A194513 A344018
KEYWORD
nonn
AUTHOR
Rémy Sigrist, Dec 28 2019
STATUS
approved