|
|
A118734
|
|
Numbers n such that 2^n and 3^n have even digit sum.
|
|
9
|
|
|
6, 15, 33, 37, 42, 43, 44, 46, 47, 50, 54, 55, 57, 58, 64, 67, 70, 71, 77, 82, 83, 84, 85, 90, 95, 102, 106, 107, 112, 116, 120, 122, 126, 129, 135, 136, 138, 140, 142, 149, 154, 161, 168, 170, 173, 176, 178, 179, 180, 181, 185, 193, 195, 198, 200, 207, 209, 210, 217
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,1
|
|
LINKS
|
|
|
MAPLE
|
filter:= proc(n) convert(convert(2^n, base, 10), `+`)::even and convert(convert(3^n, base, 10), `+`)::even end proc:
|
|
MATHEMATICA
|
Select[Range[220], And @@ ((Mod[ Plus @@ IntegerDigits[ # ], 2] == 0 &) /@ {2^#, 3^#}) &] (* Ray Chandler, Jun 10 2006 *)
|
|
CROSSREFS
|
|
|
KEYWORD
|
base,nonn
|
|
AUTHOR
|
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|