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.

A257163 Primes of the form 3n^2 + 2.

This page as a plain text file.
%I A257163 #17 Sep 08 2022 08:46:12
%S A257163 2,5,29,149,509,677,1877,3677,8429,9749,11909,13469,17789,22709,27077,
%T A257163 28229,45389,46877,53069,70229,72077,81677,100469,102677,114077,
%U A257163 128549,141269,154589,180077,192029,195077,207509,223589,230189,261077,312989,340709,352949,395309,399677,426389
%N A257163 Primes of the form 3n^2 + 2.
%C A257163 Two together with A027864(n).
%C A257163 Generated by n = 0, 1, 3, 7, 13, 15, 25, 35, 53, 57, ...
%e A257163 2 is in this sequence because 3*0^2 + 2 = 2 and 2 is prime.
%t A257163 Select[Table[3 n^2 + 2, {n, 0, 400}], PrimeQ] (* _Vincenzo Librandi_, Apr 17 2015 *)
%o A257163 (Magma) [a: n in [0..400] | IsPrime(a) where a is (3*n^2+2)];
%o A257163 (PARI) select(isprime, vector(100, n, 3*n^2-6*n+5)) \\ _Charles R Greathouse IV_, Apr 17 2015
%Y A257163 Cf. A103564, A027864. Primes of the form k*n^2 + k - 1: A090698, this sequence, A121825, A201483, A201600, A201607, A201704.
%K A257163 nonn,easy
%O A257163 1,1
%A A257163 _Juri-Stepan Gerasimov_, Apr 16 2015