b"\n_START_ARTICLE_\nSpar\xc4\x8diai did\xc4\x97janti seka\n_START_PARAGRAPH_\nMatematikoje teigiam\xc5\xb3 reali\xc5\xb3j\xc5\xb3 skai\xc4\x8di\xc5\xb3 seka \\mathbf{s_1, s_2, ...} yra vadinama spar\xc4\x8diai did\xc4\x97janti, jei kiekvienas sekantis sekos elementas yra didesnis u\xc5\xbe vis\xc5\xb3 prie\xc5\xa1 j\xc4\xaf esan\xc4\x8di\xc5\xb3 sekos element\xc5\xb3 sum\xc4\x85. _NEWLINE_Spar\xc4\x8diai did\xc4\x97jan\xc4\x8di\xc5\xb3 skai\xc4\x8di\xc5\xb3 seka matemati\xc5\xa1kai u\xc5\xbera\xc5\xa1oma taip:_NEWLINE_s_{n+1} > \\sum_{j=1}^n s_j\n_START_SECTION_\nPavyzdys\n_START_PARAGRAPH_\nSkai\xc4\x8di\xc5\xb3 seka (1, 3, 6, 13, 27, 52) yra spar\xc4\x8diai did\xc4\x97janti seka, o (1, 3, 4, 9, 15, 25), ne, nes tre\xc4\x8diasis sekos elementas 4 n\xc4\x97ra didesnis u\xc5\xbe prie\xc5\xa1 j\xc4\xaf einan\xc4\x8di\xc5\xb3 element\xc5\xb3 1 ir 3 sum\xc4\x85. \xc5\xbdemiau pateiktas pavyzdys Python programavimo kalba patikrina ar pateikta skai\xc4\x8di\xc5\xb3 seka yra spar\xc4\x8diai did\xc4\x97janti:_NEWLINE_#!/usr/bin/env python3_NEWLINE_ _NEWLINE_def iter_sum_of_previous(sequence):_NEWLINE_    sum_of_previous = 0_NEWLINE_    for element in sequence:_NEWLINE_        yield sum_of_previous, element_NEWLINE_        sum_of_previous += element_NEWLINE_ _NEWLINE_ _NEWLINE_def is_superincreasing(sequence):_NEWLINE_    for sum, element in iter_sum_of_previous(sequence):_NEWLINE_        if element <= sum: return False_NEWLINE_    return True_NEWLINE_ _NEWLINE_ _NEWLINE_def print_sequence(sequence):_NEWLINE_    print('\\nTestuojama skai\xc4\x8di\xc5\xb3 seka:')_NEWLINE_    print('\\n    {}\\n'.format(sequence))_NEWLINE_    print('Suma         Elementas ')_NEWLINE_    print('----------   ----------')_NEWLINE_    for sum, element in iter_sum_of_previous(sequence):_NEWLINE_        greather = '>' if element <= sum else '<'_NEWLINE_        print('{:10} {} {}'.format(sum, greather, element))_NEWLINE_    print('----------   ----------')_NEWLINE_ _NEWLINE_ _NEWLINE_    if is_superincreasing(sequence):_NEWLINE_        print('Seka yra spar\xc4\x8diai did\xc4\x97janti')_NEWLINE_    else:_NEWLINE_        print('Seka n\xc4\x97ra spar\xc4\x8diai did\xc4\x97janti')_NEWLINE_ _NEWLINE_ _NEWLINE_print_sequence([1, 3, 6, 13, 27, 52])_NEWLINE_print_sequence([1, 3, 4, 9, 15, 25])_NEWLINE_Programos i\xc5\xa1vestis:_NEWLINE__NEWLINE_Testuojama skai\xc4\x8di\xc5\xb3 seka:_NEWLINE__NEWLINE_    [1, 3, 6, 13, 27, 52]_NEWLINE__NEWLINE_Suma         Elementas _NEWLINE_----------   ----------_NEWLINE_         0 < 1_NEWLINE_         1 < 3_NEWLINE_         4 < 6_NEWLINE_        10 < 13_NEWLINE_        23 < 27_NEWLINE_        50 < 52_NEWLINE_----------   ----------_NEWLINE_Seka yra spar\xc4\x8diai did\xc4\x97janti_NEWLINE__NEWLINE_Testuojama skai\xc4\x8di\xc5\xb3 seka:_NEWLINE__NEWLINE_    [1, 3, 4, 9, 15, 25]_NEWLINE__NEWLINE_Suma         Elementas _NEWLINE_----------   ----------_NEWLINE_         0 < 1_NEWLINE_         1 < 3_NEWLINE_         4 > 4_NEWLINE_         8 < 9_NEWLINE_        17 > 15_NEWLINE_        32 > 25_NEWLINE_----------   ----------_NEWLINE_Seka n\xc4\x97ra spar\xc4\x8diai did\xc4\x97janti"