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.

A258841 a(n) = 9*n^2 - 237*n + 1927.

This page as a plain text file.
%I A258841 #43 Feb 16 2025 08:33:25
%S A258841 1927,1699,1489,1297,1123,967,829,709,607,523,457,409,379,367,373,397,
%T A258841 439,499,577,673,787,919,1069,1237,1423,1627,1849,2089,2347,2623,2917,
%U A258841 3229,3559,3907,4273,4657,5059,5479,5917,6373,6847,7339,7849,8377,8923,9487,10069
%N A258841 a(n) = 9*n^2 - 237*n + 1927.
%C A258841 Empirical observation. All integers generated by polynomial for 0 < n <= 37 are prime with the exception of a(26) = 43^2 and a(29) = 43*61.
%H A258841 Harvey P. Dale, <a href="/A258841/b258841.txt">Table of n, a(n) for n = 0..1000</a>
%H A258841 Eric Weisstein's World of Mathematics, <a href="https://mathworld.wolfram.com/Prime-GeneratingPolynomial.html">Prime-Generating Polynomial</a>.
%H A258841 <a href="/index/Rec#order_03">Index entries for linear recurrences with constant coefficients</a>, signature (3,-3,1).
%F A258841 From _Vincenzo Librandi_, Jun 22 2015: (Start)
%F A258841 G.f.: (1927 - 4082*x + 2173*x^2)/(1-x)^3.
%F A258841 a(n) = 3*a(n-1) - 3*a(n-2) + a(n-3). (End)
%F A258841 E.g.f.: exp(x)*(1927 - 228*x + 9*x^2). - _Elmo R. Oliveira_, Feb 09 2025
%t A258841 Table[9 n^2 - 237 n + 1927, {n, 0, 25}] (* _Michael De Vlieger_, Jun 12 2015 *)
%t A258841 LinearRecurrence[{3,-3,1},{1927,1699,1489},50] (* _Harvey P. Dale_, Oct 08 2024 *)
%o A258841 (PARI) vector(50, n, 9*n^2 - 237*n + 1927) \\ _Michel Marcus_, Jun 21 2015
%o A258841 (Magma) [9*n^2-237*n+1927: n in [0..50]]; // _Vincenzo Librandi_, Jun 22 2015
%Y A258841 Cf. A202018, A214732, A215814.
%K A258841 nonn,easy,less
%O A258841 0,1
%A A258841 _Robert Potter_, Jun 12 2015