有两个数串:1,4,7,10,...,2005,2008,2011和1,6,11,16,...,2001,2006,2011.同时出
问题描述:
有两个数串:1,4,7,10,...,2005,2008,2011和1,6,11,16,...,2001,2006,2011.同时出
答
同时出现在两列中的数字个数?最小的?最大的?其和?A串:1,4,7,10,...,2005,2008,2011A2 = A1 + 3 ,A3 = A2 + 3 ,……,AN = AN-1 + 3B串:1,6,11,16,...,2001,2006,2011B2 = B1 + 5 ,B3 = B2 + 5 ,……,BN = BN-1 + 33...