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.

A263942 Positive integers n such that (n+4)^3 - n^3 is a square.

This page as a plain text file.
%I A263942 #9 Mar 04 2024 08:06:56
%S A263942 6,28,110,416,1558,5820,21726,81088,302630,1129436,4215118,15731040,
%T A263942 58709046,219105148,817711550,3051741056,11389252678,42505269660,
%U A263942 158631825966,592022034208,2209456310870,8245803209276,30773756526238,114849222895680,428623135056486
%N A263942 Positive integers n such that (n+4)^3 - n^3 is a square.
%H A263942 Colin Barker, <a href="/A263942/b263942.txt">Table of n, a(n) for n = 1..1000</a>
%H A263942 <a href="/index/Rec#order_03">Index entries for linear recurrences with constant coefficients</a>, signature (5,-5,1).
%F A263942 a(n) = 5*a(n-1)-5*a(n-2)+a(n-3) for n>3.
%F A263942 G.f.: 2*x*(x-3) / ((x-1)*(x^2-4*x+1)).
%e A263942 6 is in the sequence because (6+4)^3 - 6^3 = 28^2.
%t A263942 LinearRecurrence[{5, -5, 1}, {6, 28, 110}, 30] (* _Paolo Xausa_, Mar 04 2024 *)
%o A263942 (PARI) Vec(2*x*(x-3)/((x-1)*(x^2-4*x+1)) + O(x^40))
%Y A263942 Cf. A263943 (21), A263944 (28), A263945 (39), A263946 (52), A263947 (57), A263948 (61), A263949 (84) where the parenthesized number is k in the expression (n+k)^3 - n^3.
%K A263942 nonn,easy
%O A263942 1,1
%A A263942 _Colin Barker_, Oct 30 2015