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.

A154253 Primes of the form 9n^2-8n+2.

This page as a plain text file.
%I A154253 #14 Sep 08 2022 08:45:40
%S A154253 2,3,59,659,1907,2467,3803,9539,19507,23003,24859,30859,37507,42299,
%T A154253 52747,58403,61339,67427,98387,122267,126499,139627,162947,182899,
%U A154253 209459,214987,232003,243707,280547,347707,362003,383987,429899,478403
%N A154253 Primes of the form 9n^2-8n+2.
%C A154253 Primes in A154254.
%C A154253 Primes generated by n = 1, 3, 9, 15, 17, 21, 33, 47, 51, 53, 59,...
%C A154253 (All but the first of these are either 3 (mod 6) or 5 (mod 6), as in A047270, because otherwise 9n^2-8n+2 is a multiple of 2 or 3. _R. J. Mathar_, Jul 17 2012).
%H A154253 Vincenzo Librandi, <a href="/A154253/b154253.txt">Table of n, a(n) for n = 1..1000</a>
%t A154253 Select[Table[9n^2-8n+2,{n,0,1500}],PrimeQ] (* _Vincenzo Librandi_, Jul 16 2012 *)
%o A154253 (Magma) [a: n in [0..250] | IsPrime(a) where a is 9*n^2-8*n+2]; // _Vincenzo Librandi_, Jul 16 2012
%K A154253 nonn,easy
%O A154253 1,1
%A A154253 _Vincenzo Librandi_, Jan 05 2009