login
A205403
a(n) is the index j < k such that n divides s(k)-s(j) for some j, where s(j) = floor((j+1)^2/2)/2, and k is the least index for which such a j exists.
3
1, 2, 1, 2, 1, 4, 2, 1, 2, 2, 1, 3, 6, 2, 1, 3, 2, 2, 1, 7, 3, 8, 2, 1, 4, 3, 5, 2, 1, 4, 9, 3, 5, 2, 1, 4, 6, 3, 9, 2, 1, 10, 4, 6, 3, 15, 2, 1, 2, 4, 10, 3, 3, 2, 1, 7, 15, 4, 20, 3, 8, 2, 1, 11, 7, 4, 5, 3, 6, 2, 1, 5, 11, 7, 4, 14, 3, 6, 2, 1
OFFSET
1,2
COMMENTS
For a guide to related sequences, see A204892.
MATHEMATICA
(See the program at A205402.)
CROSSREFS
Sequence in context: A321368 A338508 A100380 * A080825 A229724 A034693
KEYWORD
nonn
AUTHOR
Clark Kimberling, Jan 27 2012
EXTENSIONS
Definition corrected by Clark Kimberling, Dec 05 2021
STATUS
approved