Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).
%I #8 Mar 29 2023 09:01:55
%S 1,2,3,4,8,9,14,16,27,28,32,56,64,81,98,99,112,128,153,196,224,243,
%T 256,368,392,448,496,512,621,686,729,784,896,1024,1199,1372,1568,1792,
%U 2048,2187,2744,3136,3584,3896,4018,4096,4802,5049,5488,6076,6272,6561,7168
%N Numbers n such that n | 6^n + 4^n + 2^n.
%C Appears to contain 2^i * 7^j for i>=1, j>=0. - _Robert Israel_, Mar 28 2023
%H Robert Israel, <a href="/A057844/b057844.txt">Table of n, a(n) for n = 1..544</a>
%p filter:= n -> 6 &^n + 4 &^ n + 2 &^ n mod n = 0:
%p select(filter, [$1..10000]); # _Robert Israel_, Mar 28 2023
%t Select[ Range[ 15000 ], Mod[ PowerMod[ 6, #, # ] + PowerMod[ 4, #, # ] + PowerMod[ 2, #, # ], # ] == 0 & ]
%Y Contains A000244.
%K nonn
%O 1,2
%A _Robert G. Wilson v_, Nov 09 2000