等差数列5,8,11.......与等差数列3,8,13.....都有100项,那么这两个数列相同的项共有多少项
2个回答
展开全部
a[n]=3n+2
b[n]=5n-2
a[2]=b[2]=8
当他们增加3,5的公倍数后会再次相等
a[2+5k]=15k+8
b[2+3k]=15k+8
2+5k≤100
2+3k≤100
k最大19
k从0到19,共20项
{an序号,bn序号,项值}
{2,2,8}
{7,5,23}
{12,8,38}
{17,11,53}
{22,14,68}
{27,17,83}
{32,20,98}
{37,23,113}
{42,26,128}
{47,29,143}
{52,32,158}
{57,35,173}
{62,38,188}
{67,41,203}
{72,44,218}
{77,47,233}
{82,50,248}
{87,53,263}
{92,56,278}
{97,59,293}
b[n]=5n-2
a[2]=b[2]=8
当他们增加3,5的公倍数后会再次相等
a[2+5k]=15k+8
b[2+3k]=15k+8
2+5k≤100
2+3k≤100
k最大19
k从0到19,共20项
{an序号,bn序号,项值}
{2,2,8}
{7,5,23}
{12,8,38}
{17,11,53}
{22,14,68}
{27,17,83}
{32,20,98}
{37,23,113}
{42,26,128}
{47,29,143}
{52,32,158}
{57,35,173}
{62,38,188}
{67,41,203}
{72,44,218}
{77,47,233}
{82,50,248}
{87,53,263}
{92,56,278}
{97,59,293}
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询