27545 is a number whose sum of digits about its centre point is the same, here 9. See Bespoken for Sequences entry. This number also has the property that the middle digit is equal to the arithmetic digital root of 5. There are 270 five digit numbers with this property (in the range up to 40,000). They can be found as follows (permalink):
INPUT
L=[]
for n in [10..40000]:
D=n.digits()
left,right=0,0
if len(D)%2==0:
for i in range(len(D)/2):
left+=D[i]
right+=D[i+len(D)/2]
if left==right:
L.append(n)
if len(D)%2==1:
for i in range((len(D)-1)/2):
left+=D[i]
right+=D[i+(len(D)+1)/2]
if left==right:
L.append(n)
M=[]
for n in L:
middle=0
if len(str(n))==5:
D=n.digits()
middle=D[2]
if middle != 0:
b=10
if sum(n.digits(b))%(b-1)!=0:
dr=sum(n.digits())%(b-1)
else:
dr=9
if middle==dr:
M.append(n)
print(M)
print(len(M))
OUTPUT
[18109, 18118, 18127, 18136, 18145, 18154, 18163, 18172, 18181, 18190, 18209, 18218, 18227, 18236, 18245, 18254, 18263, 18272, 18281, 18290, 18309, 18318, 18327, 18336, 18345, 18354, 18363, 18372, 18381, 18390, 18409, 18418, 18427, 18436, 18445, 18454, 18463, 18472, 18481, 18490, 18509, 18518, 18527, 18536, 18545, 18554, 18563, 18572, 18581, 18590, 18609, 18618, 18627, 18636, 18645, 18654, 18663, 18672, 18681, 18690, 18709, 18718, 18727, 18736, 18745, 18754, 18763, 18772, 18781, 18790, 18809, 18818, 18827, 18836, 18845, 18854, 18863, 18872, 18881, 18890, 18909, 18918, 18927, 18936, 18945, 18954, 18963, 18972, 18981, 18990, 27109, 27118, 27127, 27136, 27145, 27154, 27163, 27172, 27181, 27190, 27209, 27218, 27227, 27236, 27245, 27254, 27263, 27272, 27281, 27290, 27309, 27318, 27327, 27336, 27345, 27354, 27363, 27372, 27381, 27390, 27409, 27418, 27427, 27436, 27445, 27454, 27463, 27472, 27481, 27490, 27509, 27518, 27527, 27536, 27545, 27554, 27563, 27572, 27581, 27590, 27609, 27618, 27627, 27636, 27645, 27654, 27663, 27672, 27681, 27690, 27709, 27718, 27727, 27736, 27745, 27754, 27763, 27772, 27781, 27790, 27809, 27818, 27827, 27836, 27845, 27854, 27863, 27872, 27881, 27890, 27909, 27918, 27927, 27936, 27945, 27954, 27963, 27972, 27981, 27990, 36109, 36118, 36127, 36136, 36145, 36154, 36163, 36172, 36181, 36190, 36209, 36218, 36227, 36236, 36245, 36254, 36263, 36272, 36281, 36290, 36309, 36318, 36327, 36336, 36345, 36354, 36363, 36372, 36381, 36390, 36409, 36418, 36427, 36436, 36445, 36454, 36463, 36472, 36481, 36490, 36509, 36518, 36527, 36536, 36545, 36554, 36563, 36572, 36581, 36590, 36609, 36618, 36627, 36636, 36645, 36654, 36663, 36672, 36681, 36690, 36709, 36718, 36727, 36736, 36745, 36754, 36763, 36772, 36781, 36790, 36809, 36818, 36827, 36836, 36845, 36854, 36863, 36872, 36881, 36890, 36909, 36918, 36927, 36936, 36945, 36954, 36963, 36972, 36981, 36990]
270
27545 is a cyclic, Duffinian and self number.
27545 can be rendered as a digit equation as follows:
2 * 7 - 5 = 4 + 5
No attachments