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.

A095692 Primes of the form n^3 + n + 1.

This page as a plain text file.
%I A095692 #12 Sep 08 2022 08:45:13
%S A095692 3,11,31,131,223,521,739,1741,3391,4931,5851,9283,24419,27031,32801,
%T A095692 59359,68963,74131,85229,110641,148931,157519,175673,216061,328579,
%U A095692 357983,405299,456611,571871,658591,857471,1061311,1124969,1259821
%N A095692 Primes of the form n^3 + n + 1.
%H A095692 Vincenzo Librandi, <a href="/A095692/b095692.txt">Table of n, a(n) for n = 1..1000</a>
%t A095692 f[n_]:=n^3+n+1; lst={};Do[If[PrimeQ[f[n]],AppendTo[lst,f[n]]],{n,5!}];lst (* _Vladimir Joseph Stephan Orlovsky_, Jul 27 2009 *)
%t A095692 Select[Table[n^3+n+1,{n,0,800}],PrimeQ] (* _Vincenzo Librandi_, Jul 17 2012 *)
%o A095692 (Magma) [a: n in [0..200] | IsPrime(a) where a is n^3+n+1]; // _Vincenzo Librandi_, Jul 17 2012
%Y A095692 Cf. A049407 (corresponding n).
%K A095692 nonn,easy
%O A095692 1,1
%A A095692 _Giovanni Teofilatto_, Jul 06 2004
%E A095692 Edited by _Rick L. Shepherd_, Jul 07 2004