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.

A355676 a(n) is the least k such that p(16*k+n) is odd where p is the number of partitions A000041.

Original entry on oeis.org

0, 0, 1, 0, 0, 0, 0, 0, 1, 2, 5, 2, 0, 0, 0, 3, 0, 0, 0, 1, 0, 1, 1, 0, 0, 1, 4, 1, 1, 0, 10, 2, 0, 0, 3, 0, 0, 0, 0, 0, 1, 0, 3, 0, 0, 1, 9, 1, 0, 0, 2, 0, 0, 0, 0, 1, 0, 1, 2, 2, 0, 0, 8, 0, 5, 1, 1, 0, 0, 0, 2, 0, 0, 0, 1, 1, 0, 0, 7, 1, 4, 0, 0, 0, 3, 0, 1, 0, 0, 0
Offset: 0

Views

Author

Michel Marcus, Jul 14 2022

Keywords

Crossrefs

Programs

  • Mathematica
    a[n_] := Module[{k = 0}, While[!OddQ[PartitionsP[16*k + n]], k++]; k]; Array[a, 100, 0] (* Amiram Eldar, Jul 14 2022 *)
  • PARI
    a(n) = my(k=0); while (!(numbpart(16*k+n) % 2), k++); k;