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.

A182351 Primes of the form n^4 - 6.

This page as a plain text file.
%I A182351 #10 Mar 03 2023 12:08:02
%S A182351 619,1500619,577200619,3603000619,4931550619,12594450619,24343800619,
%T A182351 29661450619,32625390619,65037750619,88223850619,195562950619,
%U A182351 220172100619,586181640619,1335469140619,1659523650619,2480703750619
%N A182351 Primes of the form n^4 - 6.
%e A182351 619 = 5^4 - 6; 1500619 = 35^4 - 6.
%p A182351 # choose N large, then S is the desired set
%p A182351 f:=n->n^4 - 6:
%p A182351 S:={}:
%p A182351 for n from 0 to N do if(isprime(f(n))) then S:=S union {f(n)}: fi: od:
%t A182351 Select[Range[3,3001,2]^4-6,PrimeQ] (* _Harvey P. Dale_, Mar 03 2023 *)
%Y A182351 Cf. A037896.
%K A182351 nonn
%O A182351 1,1
%A A182351 _Patrick Devlin_, Apr 25 2012