OFFSET
0,2
COMMENTS
This sequence uses the same rules as A347594 except here all numbers must be unique. Up to 10^5 terms all terms are larger than the previous term; it is unknown if this holds for all terms as n->infinity.
EXAMPLE
a(1) = 2 as a(0)^2 + 1^2 = 1 + 1 = 2, and 2 + 2 = 4 = 2^2 is the next smallest square.
a(2) = 8 as a(1)^2 + 2^2 = 4 + 4 = 8, and 8 + 8 = 16 = 4^2. Note that although 8 + 1 = 9 = 3^2, 1 cannot be chosen as a(0) = 1.
a(3) = 27 as a(2)^2 + 3^2 = 64 + 9 = 73 and 73 + 27 = 100 = 10^2. Note that although 73 + 8 = 81 = 9^2, 8 cannot be chosen as a(2) = 8.
a(4) = 39 as a(3)^2 + 4^2 = 729 + 16 = 745, and 745 + 39 = 784 = 28^2 is the next smallest square.
CROSSREFS
KEYWORD
nonn
AUTHOR
Scott R. Shannon, Sep 08 2021
STATUS
approved