OFFSET
1,2
COMMENTS
Nonunit squarefree numbers take the value 2, other nonsquares take the value 1, and squares take the square of the value taken by their square root.
LINKS
FORMULA
PROG
CROSSREFS
KEYWORD
nonn
AUTHOR
Antti Karttunen and Peter Munn, Feb 01 2021
STATUS
approved