login
A174567
Numbers n such that sum of squares of digits of n is a power of 2.
0
1, 2, 4, 8, 10, 11, 20, 22, 40, 44, 80, 88, 100, 101, 110, 200, 202, 220, 400, 404, 440, 800, 808, 880, 1000, 1001, 1010, 1100, 1111, 2000, 2002, 2020, 2200, 2222, 4000, 4004, 4040, 4400, 4444, 8000, 8008, 8080, 8800, 8888
OFFSET
1,2
EXAMPLE
11369 is in the sequence because 1^2+1^2+3^2+6^2+9^2 = 128 = 2^7.
MATHEMATICA
Select[Range[100000], IntegerQ[Log[2, Plus @@ (IntegerDigits[#]^2)]] &]
CROSSREFS
Sequence in context: A178332 A265155 A070305 * A178330 A029992 A346139
KEYWORD
nonn,base
AUTHOR
Michel Lagneau, Nov 29 2010
STATUS
approved