editing
proposed
Reminder: The OEIS is hiring a new managing editor, and the application deadline is January 26.
editing
proposed
(PARI) isA155712(n, /* optional 2nd arg allows us to get other sequences */c=[6, 3]) = { for(i=1, #c, for(b=1, sqrtint((n-1)\c[i]), issquare(n-c[i]*b^2) & & next(2)); return); 1}
for( n=1, 999, isA155712(n) & & print1(n", ")) \\ Update to modern PARI syntax (& -> &&) by _M. F. Hasler_, Jan 18 2025
approved
editing
editing
proposed
(PARI) A377091_upto(n, S=[])={vector(n+1, k, S=setunion(S, [n=if(k>1, k=1; while(setsearch(S, k) || !issquare(abs(n-k)), k=(k<0)-k); k)]); n)} \\ M. F. Hasler, Jan 18 2025
editing
proposed
M. F. Hasler, <a href="/A377091/a377091_12.html.txt">Interactive Spiral graph representation of the first n terms</a>, Jan 18 2025
M. F. Hasler, <a href="/A377091/a377091_1.html.txt">Interactive Spiral graph representation of the first n terms</a>, Jan 18 2025
proposed
editing
editing
proposed
M. F. Hasler, <a href="/A377091/a377091.html.txt">Interactive Spiral graph representation of the first n terms</a>, Jan 18 2025
approved
editing