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.

A333167 a(n) = r_2(n^2 + 1), where r_2(k) is the number of ways of writing k as a sum of 2 squares (A004018).

This page as a plain text file.
%I A333167 #12 Mar 10 2020 02:47:13
%S A333167 4,4,8,8,8,8,8,12,16,8,8,8,16,16,8,8,8,16,24,8,8,16,16,16,8,8,8,16,16,
%T A333167 8,16,16,24,16,16,8,8,16,24,8,8,12,16,24,16,8,16,32,16,8,16,8,16,16,8,
%U A333167 16,8,32,16,8,16,8,16,16,16,8,8,16,32,8,24,8,32,32
%N A333167 a(n) = r_2(n^2 + 1), where r_2(k) is the number of ways of writing k as a sum of 2 squares (A004018).
%D A333167 Steven R. Finch, Mathematical Constants II, Encyclopedia of Mathematics and Its Applications, Cambridge University Press, Cambridge, 2018, p. 166.
%H A333167 Amiram Eldar, <a href="/A333167/b333167.txt">Table of n, a(n) for n = 0..10000</a>
%H A333167 E. J. Scourfield, <a href="https://doi.org/10.1017/S2040618500034237">The divisors of a quadratic polynomial</a>, Glasgow Mathematical Journal, Vol. 5, No. 1 (1961), pp. 8-20.
%F A333167 a(n) = A004018(A002522(n)).
%e A333167 a(0) = r_2(0^2 + 1) = r_2(1) = A004018(1) = 4.
%t A333167 Table[SquaresR[2, k^2 + 1], {k, 0, 100}]
%Y A333167 Cf. A004018, A002522, A193432, A193433, A333169.
%K A333167 nonn
%O A333167 0,1
%A A333167 _Amiram Eldar_, Mar 09 2020