login
Powers of 4 with digit sum divisible by 4.
4

%I #9 Sep 17 2024 19:11:37

%S 4,67108864,68719476736,1125899906842624,18446744073709551616,

%T 302231454903657293676544,1208925819614629174706176,

%U 4835703278458516698824704,77371252455336267181195264,316912650057057350374175801344,5192296858534827628530496329220096

%N Powers of 4 with digit sum divisible by 4.

%H Andrew Howroyd, <a href="/A067508/b067508.txt">Table of n, a(n) for n = 1..200</a>

%o (PARI) lista(n)={my(L=List(),k=0);while(#L<n, if(sumdigits(4^k)%4==0, listput(L,4^k)); k++); Vec(L)} \\ _Andrew Howroyd_, Sep 17 2024

%Y Intersection of A000302 and A268620.

%Y Cf. A067499, A067500, A067501, A067502, A067503, A067504, A067505, A067506, A067507.

%K base,easy,nonn

%O 1,1

%A _Amarnath Murthy_, Feb 11 2002

%E More terms from _Sascha Kurz_, Mar 18 2002

%E Offset changed and a(10) onwards from _Andrew Howroyd_, Sep 17 2024