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.

A347796 Number of compositions (ordered partitions) of n into at most 3 nonprime parts.

Original entry on oeis.org

1, 1, 1, 1, 1, 2, 4, 2, 5, 6, 8, 11, 8, 13, 17, 17, 23, 25, 27, 33, 38, 37, 50, 48, 58, 63, 73, 70, 89, 82, 107, 102, 122, 112, 148, 136, 164, 161, 185, 173, 223, 196, 241, 231, 268, 254, 304, 273, 332, 318, 364, 348, 403, 364, 444, 415, 477, 448, 525, 479, 567
Offset: 0

Views

Author

Ilya Gutkovskiy, Sep 14 2021

Keywords

Crossrefs

Programs

  • Mathematica
    Table[Length@Flatten[Permutations/@IntegerPartitions[n,3,Select[Range@n,!PrimeQ@#&]],1],{n,0,60}] (* Giorgos Kalogeropoulos, Sep 14 2021 *)