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.

A182346 Primes of the form n^4 + 6.

This page as a plain text file.
%I A182346 #12 Jan 12 2013 16:05:40
%S A182346 7,631,279847,4879687,12117367,20151127,28398247,62742247,68574967,
%T A182346 81450631,174900631,1330863367,1698181687,3373402567,3722098087,
%U A182346 4499860567,5719140631,9354951847,16610312167,18141126727
%N A182346 Primes of the form n^4 + 6.
%e A182346 7 = 1^4 + 6; 631 = 5^4 + 6.
%p A182346 # choose N large, then S is the desired set
%p A182346 f:=n->n^4 + 6:
%p A182346 S:={}:
%p A182346 for n from 0 to N do if(isprime(f(n))) then S:=S union {f(n)}: fi: od:
%t A182346 Select[Range[1,400,2]^4+6,PrimeQ] (* _Harvey P. Dale_, Jan 12 2013 *)
%Y A182346 Cf. A037896.
%K A182346 nonn
%O A182346 1,1
%A A182346 _Patrick Devlin_, Apr 25 2012