OFFSET
1,1
COMMENTS
LINKS
Michael De Vlieger, Table of n, a(n) for n = 1..10000
EXAMPLE
6 is in the sequence since gcd(6, 15) = 3 and 6 does not divide 15^e with integer e >= 0.
2 and 4 are not in the sequence since they are coprime to 15.
3 and 5 are not in the sequence since they are divisors of 15.
9 is not in the sequence since 9 | 15^2.
MATHEMATICA
With[{nn = 150, k = 15}, Select[Range@ nn, And[1 < GCD[#, k] < #, PowerMod[k, Floor@ Log2@ nn, #] != 0] &]]
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Michael De Vlieger, Aug 02 2018
STATUS
approved