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, 14) = 2 and 6 does not divide 14^e with integer e >= 0.
2 is not in the sequence since 2 | 14.
4 is not in the sequence since 4 | 14^2.
3 and 5 are not in the sequence since they are coprime to 14.
MATHEMATICA
With[{nn = 132, k = 14}, 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