OFFSET
1,2
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..500
MATHEMATICA
Select[Range[30000], Divisible[4^#+2^#, #]||Divisible[8^#+4^#, #]&] (* Harvey P. Dale, Nov 24 2018 *)
Select[Range[30000], Divisible[PowerMod[2, #, #] + PowerMod[4, #, #], #] || Divisible[PowerMod[4, #, #] + PowerMod[8, #, #], #] &] (* Amiram Eldar, Oct 23 2021 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
STATUS
approved