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.

A244379 Numbers k such that 1 + k + k^3 + k^5 + k^7 + k^9 + ... + k^21 is prime.

This page as a plain text file.
%I A244379 #17 Sep 08 2022 08:46:08
%S A244379 2,30,56,122,216,246,248,318,552,846,948,1100,1128,1148,1200,1296,
%T A244379 1308,1416,1716,1812,1818,1920,2040,2166,2196,2210,2582,2592,2672,
%U A244379 2696,2828,2862,2886,2970,3150,3192,3378,3396,3492,3522,3626,3782,3998,4040,4070
%N A244379 Numbers k such that 1 + k + k^3 + k^5 + k^7 + k^9 + ... + k^21 is prime.
%H A244379 Vincenzo Librandi, <a href="/A244379/b244379.txt">Table of n, a(n) for n = 1..700</a>
%t A244379 Select[Range[5000], PrimeQ[Total[#^Range[1, 21, 2]] + 1]&]
%o A244379 (Magma) [n: n in [0..4500] | IsPrime(s) where s is 1+&+[n^i: i in [1..21 by 2]]];
%o A244379 (Sage)
%o A244379 i,n = var('i,n')
%o A244379 [n for n in (1..4100) if is_prime(1+(n^(2*i+1)).sum(i,0,10))] # _Bruno Berselli_, Jun 27 2014
%Y A244379 Cf. similar sequences listed in A244376.
%K A244379 nonn,easy
%O A244379 1,1
%A A244379 _Vincenzo Librandi_, Jun 27 2014