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 A350962 #12 Feb 22 2022 14:53:51 %S A350962 0,2,0,3,1,6,4,2,0,7,5,3,1,10,8,6,4,2,0,11,9,7,5,3,1,14,12,10,8,6,4,2, %T A350962 0,15,13,11,9,7,5,3,1,18,16,14,12,10,8,6,4,2,0,19,17,15,13,11,9,7,5,3, %U A350962 1,22,20,18,16,14,12,10,8,6,4,2,0,23,21,19,17,15 %N A350962 a(n) = A068527(2*n). %t A350962 a[n_] := Ceiling[Sqrt[2*n]]^2 - 2*n; Array[a, 100, 0] (* _Amiram Eldar_, Feb 22 2022 *) %o A350962 (Python) %o A350962 from math import isqrt %o A350962 def A350962(n): return 0 if n == 0 else (isqrt(2*n-1)+1)**2-2*n # _Chai Wah Wu_, Feb 22 2022 %Y A350962 Cf. A068527, A348596. %K A350962 nonn %O A350962 0,2 %A A350962 _N. J. A. Sloane_, Feb 22 2022