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.

A123076 Numbers k such that p = 1 + 2k + 3k^2 + 4k^3 is prime.

This page as a plain text file.
%I A123076 #16 Nov 16 2024 10:22:04
%S A123076 4,12,14,18,22,24,28,34,52,62,64,78,94,104,110,118,122,132,140,144,
%T A123076 154,158,160,178,194,204,214,218,220,234,258,262,270,272,290,294,312,
%U A123076 314,322,344,368,370,372,382,388,424,430,440,442,454,482,494,498,518,542
%N A123076 Numbers k such that p = 1 + 2k + 3k^2 + 4k^3 is prime.
%C A123076 Corresponding p's are in A123059.
%H A123076 James C. McMahon, <a href="/A123076/b123076.txt">Table of n, a(n) for n = 1..10000</a>
%e A123076 For k=4, 1 + 2k + 3k^2 + 4k^3 = 313 which is prime.
%t A123076 Select[Range[542],PrimeQ[1+2#+3#^2+4#^3]&] (* _James C. McMahon_, Nov 15 2024 *)
%o A123076 (PARI) lista(m) = {for (n=1, m, if (isprime(1 + 2*n + 3*n^2 + 4*n^3), print1(n, ", ")););} \\ _Michel Marcus_, Apr 19 2013
%Y A123076 Cf. A056578, A123059.
%K A123076 easy,nonn
%O A123076 1,1
%A A123076 _Zak Seidov_, Sep 27 2006