def pad_like(max_n=8, t=15):
    
    start = [[], [1, 1, 1]]     
    for n in range(2, max_n+1):
        this = start[n-1][:n+1]     
        while len(this) < t:
            this.append(sum(this[i] for i in range(-2, -n - 2, -1)))
        start.append(this)
    return start[2:]

def pr(p):
    print('''
:::: {| style= border= cellpadding= cellspacing=
|+ Padovan <math>n</math>-step sequences
|- style=
! <math>n</math>!! Values
|-
          '''.strip())
    for n, seq in enumerate(p, 2):
        print(f)
    print('|}')

if __name__ == '__main__':
    p = pad_like()
    pr(p)