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.
%I A374584 #47 Aug 16 2024 21:04:58 %S A374584 1,2,14,17,41,46,82,89,137,146,206,217,289,302,386,401,497,514,622, %T A374584 641,761,782,914,937,1081,1106,1262,1289,1457,1486,1666,1697,1889, %U A374584 1922,2126,2161,2377,2414,2642,2681,2921,2962,3214,3257,3521,3566,3842,3889 %N A374584 Numbers k such that 7*k + 2 is a square. %H A374584 <a href="/index/Rec#order_05">Index entries for linear recurrences with constant coefficients</a>, signature (1,2,-2,-1,1). %F A374584 a(n) = (A047341(n)^2 - 2)/7. - _Amiram Eldar_, Aug 12 2024 %t A374584 ((Table[7*n + {3, 4}, {n, 0, 23}] // Flatten)^2 - 2)/7 (* _Amiram Eldar_, Aug 12 2024 *) %o A374584 (Magma) [k: k in [0..4000] | IsSquare(7*k + 2)]; %Y A374584 The numbers k such that (m + (9-m)*k) is a square: A000217 (m = 1), this sequence (m = 2), A003154 (m = 3), A195162 (m = 4), A028387 (m = 5), A100536 (m = 6), A059993 (m = 7), A028884 (m = 8). %Y A374584 Cf. A047341. %K A374584 nonn,easy %O A374584 1,2 %A A374584 _Juri-Stepan Gerasimov_, Aug 12 2024