Anyone who could help me find the fastest way to calculate the n-th term of the sequence below? please | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

Anyone who could help me find the fastest way to calculate the n-th term of the sequence below? please

1 2 1 2 3 2 1 2 3 4 3 2 1 2 3 4 5 4 3 2 1 2 3 4 5 6 5 4 3 2 1 2 3 4 5 6 7 6 5 4 3 2 1.....

10th Mar 2017, 4:10 PM
Cati Cati
Cati Cati - avatar
1 Answer
+ 3
sounds like homework. we don't do homework, but if you present code your working on we will help with that
10th Mar 2017, 5:22 PM
LordHill
LordHill - avatar