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.

Showing 1-1 of 1 results.

A365939 Gilbreath transform of semiprimes (A001358).

Original entry on oeis.org

4, 2, 1, 1, 0, 1, 0, 1, 1, 1, 1, 1, 0, 1, 0, 1, 1, 0, 1, 1, 1, 1, 1, 1, 0, 0, 1, 1, 1, 1, 0, 0, 0, 1, 1, 1, 1, 1, 0, 0, 1, 1, 0, 0, 1, 1, 1, 1, 0, 0, 1, 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 1, 0, 0, 1, 0, 1, 1, 0, 1, 1, 1, 0, 0, 1, 1, 1
Offset: 1

Views

Author

N. J. A. Sloane, Sep 25 2023

Keywords

Crossrefs

Leading terms of rows of the array in A131749.

Programs

  • Mathematica
    A365939list[upto_]:=If[upto<4,{},Module[{d=Select[Range[upto],PrimeOmega[#]==2&]},Join[{4},Table[First[d=Abs[Differences[d]]],Length[d]-1]]]];A365939list[500] (* Paolo Xausa, Sep 25 2023 *)

Extensions

More terms from Pontus von Brömssen, Sep 25 2023
Showing 1-1 of 1 results.