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.

A152523 Multiplicities of distinct terms in A152522.

Original entry on oeis.org

1, 1, 1, 4, 1, 2, 4, 6, 6, 7, 6, 7, 4, 11, 3, 2, 5, 4, 1, 22, 11
Offset: 1

Views

Author

Vladimir Shevelev, Dec 06 2008

Keywords

Crossrefs

Programs

  • PARI
    a152522(n) = my(P=prime(n)); forstep(k=6, 9e99, 2, forprime(p=3, P, if(isprime(k-p), next(2))); return(k));
    lista(nn) = {my(last = a152522(1), newa, nb = 1); for (n=2, nn, newa = a152522(n); if (newa == last, nb++, print1(nb, ", "); last = newa; nb = 1););} \\ Michel Marcus, Dec 18 2018

Extensions

a(15)-a(21) from Michel Marcus, Dec 18 2018