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.

This page as a plain text file.
%I A152523 #5 Dec 18 2018 11:28:51
%S A152523 1,1,1,4,1,2,4,6,6,7,6,7,4,11,3,2,5,4,1,22,11
%N A152523 Multiplicities of distinct terms in A152522.
%o A152523 (PARI) a152522(n) = my(P=prime(n)); forstep(k=6, 9e99, 2, forprime(p=3, P, if(isprime(k-p), next(2))); return(k));
%o A152523 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
%Y A152523 Cf. A152522, A025018.
%K A152523 nonn,more
%O A152523 1,4
%A A152523 _Vladimir Shevelev_, Dec 06 2008
%E A152523 a(15)-a(21) from _Michel Marcus_, Dec 18 2018