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.

A182347 Primes of the form k^4 - 2.

This page as a plain text file.
%I A182347 #16 Jul 14 2024 19:51:32
%S A182347 79,2399,14639,28559,194479,707279,2313439,2825759,3418799,5764799,
%T A182347 7890479,12117359,28398239,47458319,52200623,57289759,81450623,
%U A182347 96059599,104060399,200533919,276922879,395254159,418161599,937890623,1073283119,1171350623,1275989839
%N A182347 Primes of the form k^4 - 2.
%H A182347 Frank M Jackson, <a href="/A182347/b182347.txt">Table of n, a(n) for n = 1..1000</a>
%e A182347 79 = 3^4 - 3; 2399 = 7^4 - 3.
%p A182347 # choose N large, then S is the desired set
%p A182347 f:=n->n^4 - 2:
%p A182347 S:={}:
%p A182347 for n from 0 to N do if(isprime(f(n))) then S:=S union {f(n)}: fi: od:
%t A182347 lst = {}; Do[If[PrimeQ[r=(2k+1)^4-2], AppendTo[lst, r]], {k, 1, 1000}]; lst[[1;;100]]
%Y A182347 Cf. A037896.
%K A182347 nonn
%O A182347 1,1
%A A182347 _Patrick Devlin_, Apr 25 2012