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.

A244390 Numbers k such that 1 + k + k^3 + k^5 + k^7 + k^9 + ... + k^57 is prime.

This page as a plain text file.
%I A244390 #15 Sep 08 2022 08:46:08
%S A244390 12,78,92,324,588,758,800,1248,1380,1472,2324,2450,3038,3930,4328,
%T A244390 4370,5580,5952,6072,6164,6872,6890,6918,7814,9318,9734,9944,10074,
%U A244390 10122,10272,10598,11070,11298,11852,12054,12210,12930
%N A244390 Numbers k such that 1 + k + k^3 + k^5 + k^7 + k^9 + ... + k^57 is prime.
%C A244390 All a(n) == 0 or 2 (mod 6). - _Robert Israel_, Jul 13 2014
%H A244390 Vincenzo Librandi and Robert Israel, <a href="/A244390/b244390.txt">Table of n, a(n) for n = 1..2500</a> (first 210 terms from Vincenzo Librandi)
%p A244390 f:= unapply(1 + sum(n^(2*j+1),j=0..28), n):
%p A244390 select(isprime @ f, [seq(2*i,i=1..1000)]); # _Robert Israel_, Jul 13 2014
%t A244390 Select[Range[13000], PrimeQ[Total[#^Range[1, 57, 2]] + 1] &]
%o A244390 (Magma) [n: n in [0..13000] | IsPrime(s) where s is 1+&+[n^i: i in [1..57 by 2]]];
%Y A244390 Cf. similar sequences listed in A244376.
%K A244390 nonn,easy
%O A244390 1,1
%A A244390 _Vincenzo Librandi_, Jun 27 2014