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.

A335840 Expansion of x*(1+2*x)/((1-2*x)*(1-x+4*x^2)).

This page as a plain text file.
%I A335840 #23 Aug 19 2022 05:57:26
%S A335840 1,5,9,5,1,45,169,245,81,125,1849,5445,6241,845,8649,70805,167281,
%T A335840 146205,1369,465125,2556801,4890605,3052009,266805,21613201,87654845,
%U A335840 135419769,53235845,48427681,909226125,2862999049,3521061845,659000241,3754622045
%N A335840 Expansion of x*(1+2*x)/((1-2*x)*(1-x+4*x^2)).
%C A335840 Numbers in the sequence are alternatively products of squares or five times a product of squares.
%H A335840 <a href="/index/Rec#order_03">Index entries for linear recurrences with constant coefficients</a>, signature (3,-6,8).
%F A335840 G.f.: x*(1+2*x)/((1-2*x)*(1-x+4*x^2)).
%F A335840 a(n) = 3*a(n-1) - 6*a(n-2) + 8*a(n-3) for n > 3.
%F A335840 a(n) = A112259(n)/(A112260(n))^2.
%F A335840 3*a(n) = 2^(n+1) - A272931(n). - _R. J. Mathar_, Aug 19 2022
%e A335840 a(11) = 43^2, a(12) = 5*3^2*11^2.
%t A335840 LinearRecurrence[{3,-6,8},{1,5,9},34] (* _Stefano Spezia_, Sep 19 2020 *)
%Y A335840 Cf. A112259, A112260.
%K A335840 nonn,easy
%O A335840 1,2
%A A335840 _Philippe Deléham_, Sep 18 2020