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.

A144391 a(n) = 3*n^2 + n - 1.

This page as a plain text file.
%I A144391 #46 Sep 08 2022 08:45:38
%S A144391 3,13,29,51,79,113,153,199,251,309,373,443,519,601,689,783,883,989,
%T A144391 1101,1219,1343,1473,1609,1751,1899,2053,2213,2379,2551,2729,2913,
%U A144391 3103,3299,3501,3709,3923,4143,4369,4601,4839,5083,5333,5589,5851,6119,6393,6673
%N A144391 a(n) = 3*n^2 + n - 1.
%H A144391 Vincenzo Librandi, <a href="/A144391/b144391.txt">Table of n, a(n) for n = 1..3000</a>
%H A144391 Leo Tavares, <a href="/A144391/a144391.jpg">Illustration: Cropped Hexagons</a>
%H A144391 <a href="/index/Rec#order_03">Index entries for linear recurrences with constant coefficients</a>, signature (3,-3,1).
%F A144391 a(n) = A135370(2*n).
%F A144391 First differences: a(n+1) - a(n) = A016957(n).
%F A144391 a(n) - A144390(n) = 6*n + 4 = A005843(n).
%F A144391 From _R. J. Mathar_, Oct 24 2008: (Start)
%F A144391 G.f.: x*(3 + 4*x - x^2)/(1 - x)^3.
%F A144391 a(n) = A049451(n) - 1. (End)
%F A144391 E.g.f.: (3*x^2 + 4*x - 1)*exp(x) + 1. - _G. C. Greubel_, Jul 19 2017
%F A144391 a(n) = 1 + Sum_{i = n-1..2*n-1} 2*i. - _Bruno Berselli_, Feb 16 2018
%F A144391 a(n) = A003215(n) - (n+1)*2. - _Leo Tavares_, Jul 04 2021
%t A144391 Table[3 n^2 + n - 1, {n, 50}] (* or *) LinearRecurrence[{3, -3, 1}, {3, 13, 29}, 50] (* _Harvey P. Dale_, Sep 18 2016 *)
%o A144391 (Magma) [3*n^2+n-1: n in [1..50]]; // _Vincenzo Librandi_, May 06 2011
%o A144391 (PARI) a(n)=3*n^2+n-1 \\ _Charles R Greathouse IV_, Oct 07 2015
%Y A144391 Cf. A135370, A144390.
%K A144391 nonn,easy
%O A144391 1,1
%A A144391 _Paul Curtz_, Oct 02 2008
%E A144391 Edited by _R. J. Mathar_, Oct 24 2008
%E A144391 More terms from _Vladimir Joseph Stephan Orlovsky_, Mar 01 2009