OFFSET
3,2
COMMENTS
Every nonnegative integer seems to appear in the sequence, and every integer seems to appear in the sequence of first differences (see link).
For all 3 <= n < 10^9, a(n) != 7. - Robert G. Wilson v, Nov 30 2017
LINKS
G. C. Greubel, Table of n, a(n) for n = 3..10000
Enrique Navarrete, Sequences Derived from Residues of 2^n (mod n)
MATHEMATICA
Array[PowerMod[2, # - 3, #] &, 80, 3] (* Robert G. Wilson v, Nov 30 2017 *)
PROG
(Magma) [Modexp(2, (n-3), n): n in [3..100]]; // G. C. Greubel, Jan 11 2023
(SageMath) [power_mod(2, (n-3), n) for n in range(3, 101)] # G. C. Greubel, Jan 11 2023
CROSSREFS
KEYWORD
nonn
AUTHOR
Enrique Navarrete, Oct 29 2017
EXTENSIONS
More terms from Robert G. Wilson v, Nov 30 2017
STATUS
approved