OFFSET
1,2
COMMENTS
In other words, after 1 and 2, such odd numbers that only the largest prime factor in their prime factorization may have exponent 1 or 2, while all lesser prime factors occur at most once.
LINKS
Antti Karttunen, Table of n, a(n) for n = 1..10000
MAPLE
with(numtheory): A277334_list := n -> seq(`if`(i=2 or (i::odd and issqrfree(i/ max(factorset(i)))), i, NULL), i=1..n): A277334_list(169); # Peter Luschny, Oct 23 2016
PROG
(Scheme, with Antti Karttunen's IntSeq-library)
CROSSREFS
Cf. A277332 (permutation of this sequence).
KEYWORD
nonn
AUTHOR
Antti Karttunen, Oct 12 2016
STATUS
approved