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.

User: Patryk Kisieniowski

Patryk Kisieniowski's wiki page.

Patryk Kisieniowski has authored 1 sequences.

A348623 a(1) = 1; for n > 1 a(n) = a(n-1) + A001227(a(n-1)).

Original entry on oeis.org

1, 2, 3, 5, 7, 9, 12, 14, 16, 17, 19, 21, 25, 28, 30, 34, 36, 39, 43, 45, 51, 55, 59, 61, 63, 69, 73, 75, 81, 86, 88, 90, 96, 98, 101, 103, 105, 113, 115, 119, 123, 127, 129, 133, 137, 139, 141, 145, 149, 151, 153, 159, 163, 165, 173, 175, 181, 183, 187, 191, 193, 195, 203
Offset: 1

Author

Patryk Kisieniowski, Oct 25 2021

Keywords

Crossrefs

Programs

  • Mathematica
    NestList[# + Count[Divisors[#], ?OddQ] &, 1, 62] (* _Michael De Vlieger, Oct 25 2021 *)
  • PARI
    f(n) = sumdiv(n, d, d%2); \\ A001227
    a(n) = if (n==1, 1, my(x=a(n-1)); x + f(x)); \\ Michel Marcus, Oct 26 2021
    
  • Python
    from math import prod
    from itertools import islice
    from sympy import factorint
    def A348623gen(): # generator of terms
        n = 1
        yield n
        while True:
            n += prod(q+1 for p, q in factorint(n).items() if p > 2)
            yield n
    A348623_list = list(islice(A348623gen(),20)) # Chai Wah Wu, Dec 13 2021