The OEIS is supported by the many generous donors to the OEIS Foundation.

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 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 (list; graph; refs; listen; history; text; internal format)
 OFFSET 1,2 COMMENTS This sequence is a variant of A330636. LINKS Rémy Sigrist, Table of n, a(n) for n = 1..10000 Rémy Sigrist, C program for A330721 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 Adjacent sequences: A330718 A330719 A330720 * A330722 A330723 A330724 KEYWORD nonn AUTHOR Rémy Sigrist, Dec 28 2019 STATUS approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

Last modified February 1 14:40 EST 2023. Contains 359993 sequences. (Running on oeis4.)