OFFSET
1,1
COMMENTS
These integers are sometimes called balanced numbers.
There are 9, 615, 50412, 4379055, 392406145, ... 2k-digit balanced numbers with k >= 1.
REFERENCES
Cambridge Colleges Sixth Term Examination Papers (STEP) 2007, Paper I, Section A (Pure Mathematics), Nr. 1.
LINKS
Harvey P. Dale, Table of n, a(n) for n = 1..624 (* All terms through 9999 *)
EXAMPLE
1423 is a 4-digit balanced number, because the sum of the first 2 digits equals the sum of the last 2 digits: 1 + 4 = 2 + 3.
MATHEMATICA
sfslQ[n_]:=Module[{id=IntegerDigits[n], len}, len=Length[id]/2; Total[Take[ id, len]]==Total[Take[id, -len]]]; Select[Table[Range[10^n, 10^(n+1)-1], {n, 1, 3, 2}]// Flatten, sfslQ] (* Harvey P. Dale, Jun 24 2020 *)
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Martin Renner, Aug 03 2014
STATUS
approved