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.
%I A309856 #16 Dec 09 2024 15:07:40 %S A309856 17,251,2663,48779,410759,715823,2450087,6615899,13935743,15290747, %T A309856 23394167,38930219,160125983,219804479,236741543,1258845587, %U A309856 1666475243,2116179719,2308641299,3604970627,3991233959,4283401139,6109873703,8207369603,8487319319,9264815927 %N A309856 Primes of the form 2*p^3+1 where p is also prime. %C A309856 All terms == 5 (mod 6). %H A309856 Robert Israel, <a href="/A309856/b309856.txt">Table of n, a(n) for n = 1..10000</a> %F A309856 a(n) = 1+2*A309857(n)^3. %p A309856 f:= proc(n) if isprime(n) and isprime(2*n^3+1) then return 2*n^3+1 fi end proc: %p A309856 map(f, [2,seq(i,i=5..10000,6)]);# _Robert Israel_, Aug 22 2019 %t A309856 pp = Join[{2}, Select[Range[5, 10000, 6], PrimeQ[#] && PrimeQ[2#^3 + 1]&]]; %t A309856 2 pp^3 + 1 (* _Jean-François Alcover_, Jul 31 2020 *) %t A309856 Select[2*Prime[Range[300]]^3+1,PrimeQ] (* _Harvey P. Dale_, Dec 09 2024 *) %Y A309856 Cf. A309857. %Y A309856 Subsequence of A214175 and of A201107. %K A309856 nonn %O A309856 1,1 %A A309856 _R. J. Mathar_, Aug 20 2019