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.

A239414 Numbers k such that k^6 - 6 is prime.

This page as a plain text file.
%I A239414 #18 Feb 24 2025 14:46:23
%S A239414 5,7,17,37,113,137,157,173,175,203,223,227,295,337,395,407,475,487,
%T A239414 503,535,605,617,707,743,797,833,857,863,865,877,905,943,947,965,973,
%U A239414 995,1037,1043,1057,1103,1217,1243,1247,1277,1295,1337,1357,1363,1375,1403
%N A239414 Numbers k such that k^6 - 6 is prime.
%C A239414 Note that all the numbers in this sequence are odd.
%H A239414 Harvey P. Dale, <a href="/A239414/b239414.txt">Table of n, a(n) for n = 1..1000</a>
%e A239414 5^6 - 6 = 15619 is prime. Thus, 5 is a member of this sequence.
%t A239414 Select[Range[3,1501,2],PrimeQ[#^6-6]&] (* _Harvey P. Dale_, Jul 24 2016 *)
%o A239414 (Python)
%o A239414 import sympy
%o A239414 from sympy import isprime
%o A239414 {print(n) for n in range(10**4) if isprime(n**6-6)}
%o A239414 (PARI) is(n)=isprime(n^6-6) \\ _Charles R Greathouse IV_, Feb 17 2017
%Y A239414 Cf. A028870, A109836, A153974.
%K A239414 nonn
%O A239414 1,1
%A A239414 _Derek Orr_, Mar 17 2014