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-2 of 2 results.

A168008 First differences of A168007.

Original entry on oeis.org

1, 2, -1, 3, -1, 5, -1, 3, -1, 11, -1, 3, -1, 23, -1, 3, -1, 47, -1, 3, -1, 5, -1, 3, -1, 101, -1, 3, -1, 7, -1, 11, -1, 3, -1, 13, -1, 233, -1, 3, -1, 467, -1, 3, -1, 5, -1, 3, -1, 941, -1, 3, -1, 7, -1, 1889, -1, 3, -1, 3779, -1, 3, -1, 7559, -1, 3, -1, 13, -1
Offset: 1

Views

Author

Omar E. Pol, Nov 19 2009

Keywords

Crossrefs

Programs

  • Python
    from itertools import count, islice
    from sympy import primefactors
    def A168008_gen(): # generator of terms
        a = 1
        for n in count(2):
            yield (b:=min(primefactors(a),default=1) if a&1 or a==2 else -1)
            a += b
    A168008_list = list(islice(A168008_gen(),20)) # Chai Wah Wu, Mar 14 2023

Extensions

More terms from Jinyuan Wang, Mar 14 2020

A168009 Numbers of A168007, in sorted order.

Original entry on oeis.org

1, 2, 3, 4, 5, 6, 9, 10, 11, 12, 21, 22, 23, 24, 45, 46, 47, 48, 93, 94, 95, 96, 99, 100, 101, 102, 201, 202, 203, 204, 209, 210, 219, 220, 221, 222, 233, 234, 465, 466, 467, 468, 933, 934, 935, 936, 939, 940, 941, 942, 1881, 1882, 1883, 1884, 1889, 1890, 3777
Offset: 1

Views

Author

Omar E. Pol, Nov 19 2009

Keywords

Crossrefs

Extensions

More terms from Jinyuan Wang, Mar 14 2020
Showing 1-2 of 2 results.