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.

A048871 Length of hypotenuse squared in right triangle formed by a palindromic spiral plotted in Cartesian coordinates.

This page as a plain text file.
%I A048871 #19 Mar 18 2024 11:56:02
%S A048871 2,5,13,25,41,61,85,113,145,202,605,1573,3025,4961,7381,10285,13673,
%T A048871 17545,20002,22522,26962,31802,37042,42682,48722,55162,62002,69242,
%U A048871 77285,85748,94228,103108,112388,122068,132148,142628,153508,164788
%N A048871 Length of hypotenuse squared in right triangle formed by a palindromic spiral plotted in Cartesian coordinates.
%D A048871 H. E. Huntley, The Divine Proportion, A Study in Mathematical Beauty. New York: Dover, 1970. See Chapter 13, Spira Mirabilis, especially Fig. 13-5, page 173.
%H A048871 Harvey P. Dale, <a href="/A048871/b048871.txt">Table of n, a(n) for n = 1..1000</a>
%H A048871 Patrick De Geest, <a href="http://www.worldofnumbers.com/index.html">World!Of Numbers</a>
%F A048871 a(n) = A002113(n)^2 + A002113(n-1)^2, n > 1.
%e A048871 To begin palindromic spiral, plot (1, 0), (0, 1). Hypotenuse is c^2=a^2+b^2, or 2=1+1. a(1) = 2.
%e A048871 a(2)=5 because c^2=a^2+b^2 and 5=1+4.
%t A048871 Join[{2},Total[#^2]&/@Partition[Select[Range[300],PalindromeQ],2,1]] (* _Harvey P. Dale_, Mar 18 2024 *)
%Y A048871 Cf. A002113.
%Y A048871 An analog of the prime spiral of A048851.
%K A048871 easy,nonn,base,nice
%O A048871 1,1
%A A048871 _Enoch Haga_