|
| |
|
|
A076164
|
|
Numbers n such that sum of squares of even digits of n equals sum of squares of odd digits of n.
|
|
0
| |
|
|
11112, 11121, 11211, 11356, 11365, 11536, 11563, 11635, 11653, 12111, 13156, 13165, 13516, 13561, 13615, 13651, 15136, 15163, 15316, 15361, 15613, 15631, 16135, 16153, 16315, 16351, 16513, 16531, 21111, 31156, 31165, 31516, 31561
(list; graph; refs; listen; history; internal format)
|
|
|
|
OFFSET
| 1,1
|
|
|
COMMENTS
| Minimal number of digits in n is 5. n such that sum of even digits equals sum of odd digits in A036301.
|
|
|
EXAMPLE
| 11356 is OK because (1^2+1^2+3^2+5^2)=6^2.
|
|
|
MATHEMATICA
| oeQ[n_]:=Module[{idn=IntegerDigits[n]}, Total[Select[idn, OddQ]^2]== Total[ Select[ idn, EvenQ]^2]]; Select[Range[10000, 99999], oeQ] (* From Harvey P. Dale, Sep 23 2011 *)
|
|
|
CROSSREFS
| Cf. A036301.
Sequence in context: A115834 A115810 A154807 * A073038 A107650 A205751
Adjacent sequences: A076161 A076162 A076163 * A076165 A076166 A076167
|
|
|
KEYWORD
| nonn,base
|
|
|
AUTHOR
| Zak Seidov (zakseidov(AT)yahoo.com), Nov 01 2002
|
| |
|
|