OFFSET
1,1
COMMENTS
Take a number. Write this number in capital letters. Remove any spaces or hyphens to form a single block of contiguous letters. Cut this block into two parts using a vertical line which is tangent to at least one of the letters. The word ONE, for example, admits four cuts, the first before the O, the second between the O and the N, the third between the N and the E, the fourth after the E. These respective cuts produce the four pairs of subsets of following letters: —/ONE, O/NE, ON/E, ONE/—. A weight is now assigned to each subset. To do this, we replace each letter in the subset by its rank in the alphabet. Then we add up these ranks within the subset. The weights of the four successive pairs above are therefore {0;34}, {15;19}, {29;5}, {34;0}. The absolute difference of the two numbers that form such a pair is called imbalance. The successive imbalances in the example here are 34, 4, 24 and 34.
EXAMPLE
a(1) = 8 = HUIT is balanced when cut between U and I as H+U = 29 = I+T;
a(2) = 34 = TRENTEQUATRE is balanced when cut between E and Q as T+R+E+N+T+E = 82 = Q+U+A+T+R+E;
a(3) = 52 = CINQUANTEDEUX is balanced when cut between N and T as C+I+N+Q+U+A+N = 79 = T+E+D+E+U+X; etc.
The cuts in the first integers of the sequence below are made using the equal (=) sign:
HU=IT (29=29)
TRENTE=QUATRE (82=82)
CINQUAN=TEDEUX (79=79)
SOIXANT=EDIXSEPT (102=102)
QUATREV=INGTDEUX (104=104)
CENTH=UIT (50=50)
CENTVIN=GTETUN (87=87)
CENTVIN=GTSEPT (87=87)
CENTT=RENTE (62=62)
CENTTRE=NTENEUF (85=85)
CENTSOIXA=NTEDOUZE (110=110)
CENTQUATRE=VINGTSIX (124=124)
DEUXCENTT=RENTEDEUX (116=116)
DEUXCENTSOIX=ANTEQUATORZE (163=163)
DEUXCENTQUAT=REVINGTSEPT (155=155)
DEUXCENTQUAT=REVINGTONZE (155=155
TROISCEN=TTREIZE (103=103)
TROISCENT=QUATORZE (123=123),
TROISCEN=TDIXNEUF (103=103)
TROISCENTT=RENTETROIS (143=143)
TROISCENTQ=UARANTEETUN (140=140)
TROISCENTQ=UARANTESEPT (140=140)
TROISCENTCI=NQUANTECINQ (135=135)
TROISCENTS=OIXANTEDEUX (142=142)
TROISCENTQUATR=EVINGTQUATORZE (200=200)
QUATREC=ENTNEUF (85=85)
QUATRECENT=VINGTSIX (124=124)
QUATRECENTT=RENTEQUATRE (144=144)
QUATRECENTSO=IXANTEETONZE (158=158)
QUATRECENTQU=ATREVINGTNEUF (162=162)
CINQCENTT=RENTECINQ (105=105)
CINQCENTSO=IXANTENEUF (119=119)
CINQCENTSOI=XANTESEIZE (128=128)
CINQCENTQUATRE=VINGTDIXHUIT (167=167)
SIXCEN=TDEUX (74=74)
...
CROSSREFS
KEYWORD
base,nonn,word
AUTHOR
Eric Angelini and Jean-Marc Falcoz, Jun 02 2024
STATUS
approved