cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A332802 a(n) is the smallest q such that the number of nonnegative k <= q, possessing the property that k + k*q - q is a square, is equal to 2^n.

This page as a plain text file.
%I A332802 #21 Dec 20 2024 19:12:40
%S A332802 0,2,7,23,119,839,9239,120119,2042039,38798759,892371479,25878772919,
%T A332802 802241960519,29682952539239,1217001054108839,52331045326680119,
%U A332802 2459559130353965639,130356633908760178919,7691041400616850556279,469153525437627883933079,31433286204321068223516379
%N A332802 a(n) is the smallest q such that the number of nonnegative k <= q, possessing the property that k + k*q - q is a square, is equal to 2^n.
%F A332802 a(n) = A102476(n) - 1. - _Jinyuan Wang_, Feb 25 2020
%e A332802 a(0) = 0 because 2^0 = 1 solution is 0 (where k=0).
%e A332802 a(1) = 2 because 2^1 = 2 solutions are 1 (1) and 4 (2).
%e A332802 a(2) = 7 because 2^2 = 4 solutions are 1 (1), 9 (2), 25 (4), 49 (7).
%e A332802 a(3) = 23 because 2^3 = 8 solutions are 1 (1), 25 (2), 49 (3), 121 (6), 169 (8), 289 (13), 361 (16), 529 (23).
%e A332802 a(4) = 119 because 2^4 = 16 solutions are 1 (1), 121 (2), 361 (4), 841 (8), 961 (9), 1681 (15), 2401 (21), 3481 (30), 3721 (32), 5041 (43), 6241 (53), 7921 (67), 8281 (70), 10201 (86), 11881 (100), 14161 (119).
%o A332802 (PARI) a(n) = {my(q=0); while (sum(k=0, q, issquare(k + k*q - q)) != 2^n, q++); q;} \\ _Michel Marcus_, Feb 25 2020
%Y A332802 Cf. A000290, A060594, A102476, A332761.
%K A332802 nonn
%O A332802 0,2
%A A332802 _Juri-Stepan Gerasimov_, Feb 24 2020
%E A332802 a(7) from _Michel Marcus_, Feb 25 2020
%E A332802 More terms from _Jinyuan Wang_, Feb 25 2020