User blog comment:Vel!/Music/@comment-24509095-20140505094645/@comment-25418284-20140505115615

n = 5 ** (5 ** 5) base = 8

digits = [] while n > 0: n, d = divmod(n, base) digits.append(int(d)) digits = digits[::-1]

digits = [['c', 'd', 'e', 'f', 'g', 'a', 'b', "c'"][d] for d in digits] digits[0] += '8' print('\\new Staff \\transpose c c\' { ' + ' '.join(digits) + ' }')

This Python script outputs a LilyPond source file. LilyPond will compile it into the resulting PDF.