login
A045577
Numbers k that divide 4^k + 2^k or 8^k + 4^k.
1
1, 2, 3, 4, 8, 9, 10, 16, 27, 32, 50, 64, 68, 81, 128, 171, 243, 250, 256, 410, 512, 513, 729, 1024, 1156, 1250, 1539, 2048, 2050, 2056, 2187, 3249, 4096, 4617, 5050, 6250, 6561, 8192, 9747, 10250, 13203, 13851, 16384, 16810, 19652, 19683, 20512, 25250
OFFSET
1,2
LINKS
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
Sequence in context: A364381 A246444 A117847 * A111020 A002971 A157318
KEYWORD
nonn
STATUS
approved