OFFSET
1,2
LINKS
John Tyler Rascoe, Table of n, a(n) for n = 1..2000
EXAMPLE
10 is included because p(10) = 42 is divisible by p(2)*p(5) = 2*7 and 2 and 5 are the distinct prime divisors of 10.
PROG
(Python)
from itertools import count, islice
from math import prod
from sympy.ntheory import npartitions, factorint
def a_gen():
for n in count(1):
if npartitions(n)%prod([npartitions(i) for i in factorint(n)]) < 1:
yield n
A055977_list = list(islice(a_gen(), 61)) # John Tyler Rascoe, Jul 24 2024
(PARI) isok(k) = my(f=factor(k)); numbpart(k) % prod(i=1, #f~, numbpart(f[i, 1])) == 0; \\ Michel Marcus, Jul 25 2024
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Leroy Quet, Jul 20 2000
EXTENSIONS
Name and offset edited by John Tyler Rascoe, Jul 24 2024
STATUS
approved