OFFSET
0,3
COMMENTS
Number of occurrences of n in A077773.
LINKS
Rainer Rosenthal, Table of n, a(n) for n = 0..10000
EXAMPLE
PROG
(Python)
from sympy import factorint
def A363522(n):
s = 0
for k in range(n>>1, ((n+1)**2<<1)+1):
c = 0
for m in range(k**2+1, (k+1)**2):
if all(p==2 or p&3==1 or e&1^1 for p, e in factorint(m).items()):
c += 1
if c>n:
break
if c==n:
s += 1
return s # Chai Wah Wu, Jul 10 2023
CROSSREFS
KEYWORD
nonn
AUTHOR
Rainer Rosenthal, Jul 07 2023
STATUS
approved