###Definitions:
Definitions:
An arithmetic sequence is a sequence a(1),a(2),a(3),a(4),...
\$a(1),a(2),a(3),a(4),...\$ such that there is a constant c
\$c\$ such that a(m+1)-a(m) = c
\$a(m+1)-a(m) = c\$ for all m
\$m\$. In other words: The difference between two subsequent terms is constant.
Given a sequence b(1),b(2),b(3),b(4),...
\$b(1),b(2),b(3),b(4),...\$ a subsequence is a sequence b(s(1)),b(s(2)),b(s(3)),b(s(4)),...
\$b(s(1)),b(s(2)),b(s(3)),b(s(4)),...\$ where 1 <= s(1)
\$1 <= s(1)\$ and s(m) < s(m+1)
\$s(m) < s(m+1)\$ for all m
\$m\$. In other words: Take the original sequence and remove as many entries as you want.
###Examples
Examples
Background
###Background II got this idea when I recalled the Green-Tao-Theorem from 2004, which states that the sequence of primes contains finite arithmetic sequences of arbitrary length.