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.

A157106 a(n) = 5651522*n^2 - 2541672*n + 285769.

This page as a plain text file.
%I A157106 #23 Jul 29 2025 18:47:20
%S A157106 3395619,17808513,43524451,80543433,128865459,188490529,259418643,
%T A157106 341649801,435184003,540021249,656161539,783604873,922351251,
%U A157106 1072400673,1233753139,1406408649,1590367203,1785628801,1992193443,2210061129
%N A157106 a(n) = 5651522*n^2 - 2541672*n + 285769.
%C A157106 The identity (5651522*n^2-2541672*n+285769)^2-(1681*n^2-756*n+85)*(137842*n-30996)^2=1 can be written as a(n)^2-A157010(n)*A157105(n)^2=1.
%H A157106 Vincenzo Librandi, <a href="/A157106/b157106.txt">Table of n, a(n) for n = 1..10000</a>
%H A157106 Vincenzo Librandi, <a href="http://mathforum.org/kb/message.jspa?messageID=5785989&amp;tstart=0">X^2-AY^2=1</a>
%H A157106 <a href="/index/Rec#order_03">Index entries for linear recurrences with constant coefficients</a>, signature (3,-3,1).
%F A157106 a(n) = 3*a(n-1) -3*a(n-2) +a(n-3).
%p A157106 A157106:=n->5651522*n^2 - 2541672*n + 285769; seq(A157106(n), n=1..30); # _Wesley Ivan Hurt_, Jan 23 2014
%t A157106 LinearRecurrence[{3,-3,1},{3395619,17808513,43524451},30]
%o A157106 (Magma) I:=[3395619, 17808513, 43524451]; [n le 3 select I[n] else 3*Self(n-1)-3*Self(n-2)+1*Self(n-3): n in [1..40]];
%o A157106 (PARI) a(n) = 5651522*n^2 - 2541672*n + 285769
%Y A157106 Cf. A157010, A157105.
%K A157106 nonn,easy
%O A157106 1,1
%A A157106 _Vincenzo Librandi_, Feb 23 2009