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.

A156018 Primes of the form k^3 + k^2 + k - 1.

This page as a plain text file.
%I A156018 #7 Feb 05 2020 04:02:42
%S A156018 2,13,83,257,1109,2953,6173,8419,14423,40493,99497,127549,178807,
%T A156018 198533,347969,378503,480713,599843,787243,1271483,1417583,1574467,
%U A156018 2883593,3133597,3397649,4770023,5118203,5482927,5671613,6469637,6680203
%N A156018 Primes of the form k^3 + k^2 + k - 1.
%H A156018 Amiram Eldar, <a href="/A156018/b156018.txt">Table of n, a(n) for n = 1..10000</a>
%e A156018 13 is a term since 13 = 2^3 + 2^2 + 2 - 1.
%t A156018 lst={};Do[p=(n^1+n^2+n^3)-1;If[PrimeQ[p],AppendTo[lst,p]],{n,7!}];lst
%Y A156018 Cf. A125964.
%K A156018 nonn
%O A156018 1,1
%A A156018 _Vladimir Joseph Stephan Orlovsky_, Feb 01 2009