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.

A127959 Nonprime numbers of the form 1 + Sum_{k=1..m} 2^(2*k - 1).

Original entry on oeis.org

171, 10923, 699051, 11184811, 44739243, 178956971, 2863311531, 11453246123, 45812984491, 183251937963, 733007751851, 11728124029611, 46912496118443, 187649984473771, 750599937895083, 3002399751580331, 12009599006321323
Offset: 1

Views

Author

Artur Jasinski, Feb 09 2007

Keywords

Comments

Prime numbers of the form 1 + Sum_{k=1..m} 2^(2*n - 1) is A000979. Numbers x such that 1 + Sum_{k=1..m} 2^(2*n - 1) is prime for n=1,2,...,x is A127936. A127955 is probably a subset of the present sequence.

Crossrefs

Programs

  • Mathematica
    a = {}; Do[c = 1 + Sum[2^(2n - 1), {n, 1, x}]; If[PrimeQ[c] == False, AppendTo[a, c]], {x, 1, 50}]; a
    Select[Table[Sum[2^(2k-1),{k,n}]+1,{n,50}],!PrimeQ[#]&] (* Harvey P. Dale, Dec 23 2017 *)