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.

A182350 Primes of the form n^4 - 5.

This page as a plain text file.
%I A182350 #12 Apr 10 2017 18:44:17
%S A182350 11,251,1291,4091,20731,104971,1048571,2085131,9834491,11316491,
%T A182350 14776331,18974731,29986571,49787131,78074891,168896011,236421371,
%U A182350 406586891,429981691,454371851,479785211,959512571,1146228731
%N A182350 Primes of the form n^4 - 5.
%e A182350 11 = 2^4 - 5; 251 = 4^4 - 5.
%p A182350 # choose N large, then S is the desired set
%p A182350 f:=n->n^4 - 5:
%p A182350 S:={}:
%p A182350 for n from 0 to N do if(isprime(f(n))) then S:=S union {f(n)}: fi: od:
%t A182350 Select[Range[200]^4-5,PrimeQ] (* _Harvey P. Dale_, Apr 10 2017 *)
%Y A182350 Cf. A037896.
%K A182350 nonn
%O A182350 1,1
%A A182350 _Patrick Devlin_, Apr 25 2012