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.

A349488 Number of unlabeled disconnected P-series with n elements.

Original entry on oeis.org

0, 1, 2, 6, 16, 45, 115, 296, 733, 1801, 4338, 10380, 24531, 57622, 134317, 311465, 718297, 1649579, 3772448, 8597284, 19527774, 44225665, 99885035, 225032910, 505797776, 1134419571, 2539173978, 5672736196, 12650878942, 28165845957, 62609097765, 138963709623
Offset: 1

Views

Author

Salah Uddin Mohammad, Nov 19 2021

Keywords

Crossrefs

Programs

  • Maple
    b:= proc(n) option remember; `if`(n=0, 1, add(b(n-j)*add(d*
          max(1, 2^(d-1)-1), d=numtheory[divisors](j)), j=1..n)/n)
        end:
    a:= n-> b(n)-max(1, 2^(n-1)-1):
    seq(a(n), n=1..35);  # Alois P. Heinz, Jan 05 2022
  • Mathematica
    b[n_] := b[n] = If[n == 0, 1, Sum[b[n - j]*Sum[d*
         Max[1, 2^(d-1) - 1], {d, Divisors[j]}], {j, 1, n}]/n];
    a[n_] := b[n] - Max[1, 2^(n-1)-1];
    Table[a[n], {n, 1, 35}] (* Jean-François Alcover, Mar 11 2022, Alois P. Heinz *)

Formula

a(n) = A349276(n) - A255047(n-1).