OFFSET
1,2
COMMENTS
Numbers m such that A354258(k) = k^2.
Consists of the union of {squarefree numbers that are odd or congruent to 6 modulo 12} U {4 times odd squarefree numbers}.
The maximum run length of consecutive numbers is 5, and they are of the form 24*m+3..24*m+7 or 24*m+17..24*m+21.
LINKS
Jianing Song, Table of n, a(n) for n = 1..10000
EXAMPLE
PROG
(PARI) isA354270(n) = ((n%2 || n%12==6) && issquarefree(n)) || (n%8==4 && issquarefree(n/4))
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Jianing Song, May 21 2022
STATUS
approved