OFFSET
1,2
COMMENTS
k must be the square of a squarefree number. Actually, k must be the square of a cyclic number (A003277).
Number of the form (p_1*p_2*...*p_r)^2 where the p_i are distinct primes and no (p_j)^2-1 is divisible by any p_i.
The smallest term with exactly n distinct prime factors is given by A350341.
From the term 25 on, no term can be divisible by 2 or 3.
LINKS
Jianing Song, Table of n, a(n) for n = 1..10000
FORMULA
a(n) = A350342(n)^2.
EXAMPLE
For primes p, p^2 is a term since every group of order p^2 is abelian. Such group is isomorphic to either C_{p^2} or C_p X C_p.
For primes p, q, if p^2 !== 1 (mod q), q^2 !== 1 (mod p), then p^2*q^2 is a term since every group of that order is abelian. Such group is isomorphic to C_{p^2*q^2}, C_p X C_{p*q^2}, C_q X C_{p^2*q} or C_{p*q} X C_{p*q}.
PROG
(PARI) isA051532(n) = my(f=factor(n), v=vector(#f[, 1])); for(i=1, #v, if(f[i, 2]>2, return(0), v[i]=f[i, 1]^f[i, 2])); for(i=1, #v, for(j=i+1, #v, if(v[i]%f[j, 1]==1 || v[j]%f[i, 1]==1, return(0)))); 1 \\ Charles R Greathouse IV's program for A051532
isA350343(n) = issquare(n) && isA051532(n)
CROSSREFS
KEYWORD
nonn
AUTHOR
Jianing Song, Dec 25 2021
STATUS
approved