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.

A216257 a(n) = 840*n^2 - 23100*n + 86861.

This page as a plain text file.
%I A216257 #27 Jul 26 2025 17:20:36
%S A216257 86861,64601,44021,25121,7901,-7639,-21499,-33679,-44179,-52999,
%T A216257 -60139,-65599,-69379,-71479,-71899,-70639,-67699,-63079,-56779,
%U A216257 -48799,-39139,-27799,-14779,-79,16301,34361,54101,75521,98621,123401,149861,178001,207821,239321,272501
%N A216257 a(n) = 840*n^2 - 23100*n + 86861.
%C A216257 |a(n)| are distinct primes for 0 <= n <= 32.
%C A216257 The values of this polynomial are never divisible by a prime less than 79.
%C A216257 All terms are congruent to 1 (mod 20).
%H A216257 Arkadiusz Wesolowski, <a href="/A216257/b216257.txt">Table of n, a(n) for n = 0..1000</a>
%H A216257 Eric Weisstein's World of Mathematics, <a href="https://mathworld.wolfram.com/Prime-GeneratingPolynomial.html">Prime-Generating Polynomial</a>.
%H A216257 <a href="/index/Rec#order_03">Index entries for linear recurrences with constant coefficients</a>, signature (3,-3,1).
%F A216257 G.f.: (86861 - 195982*x + 110801*x^2)/(1-x)^3.
%F A216257 From _Elmo R. Oliveira_, Feb 10 2025: (Start)
%F A216257 E.g.f.: exp(x)*(86861 - 22260*x + 840*x^2).
%F A216257 a(n) = 3*a(n-1) - 3*a(n-2) + a(n-3) for n > 2. (End)
%p A216257 seq(840*n^2-23100*n+86861, n=0..34);
%t A216257 Table[840*n^2 - 23100*n + 86861, {n, 0, 34}]
%o A216257 (Magma) [ 840*n^2-23100*n+86861 : n in [0..34]];
%o A216257 (PARI) for(n=0, 34, print1(840*n^2-23100*n+86861, ", "))
%Y A216257 Cf. A141881, A141887, A215145.
%K A216257 easy,sign
%O A216257 0,1
%A A216257 _Arkadiusz Wesolowski_, Mar 15 2013