def triangle(n):
    return n * (n + 1) // 2

for i in range(95):
    t = triangle(i)

    t_low = t & 0xFF
    t_high = t >> 8
    
    v_frac = t_low * 0x109 & 0xFFFF # Truncated
    v_whole = t_high
    
    print(f'{i:X}h: {v_whole:X}.{v_frac:04X}h')
