OFFSET
1,1
COMMENTS
Numbers m that are neither 5-smooth nor reduced residues mod 30. Such numbers m have at least 1 prime factor p <= 5 and at least 1 prime factor q > 5.
LINKS
Michael De Vlieger, Table of n, a(n) for n = 1..10000
EXAMPLE
14 is in the sequence since gcd(14, 30) = 2 and 14 does not divide 30^e with integer e >= 0.
15 is not in the sequence since 15 | 30.
16 is not in the sequence since 16 | 30^4.
17 is not in the sequence since 17 is coprime to 30.
MATHEMATICA
With[{nn = 135, k = 30}, Select[Range@ nn, And[1 < GCD[#, k] < #, PowerMod[k, Floor@ Log2@ nn, #] != 0] &]]
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Michael De Vlieger, Dec 02 2019
STATUS
approved