Problem with a sequence

No.11279128 ViewReplyOriginalReport
Oh, okay. I see /sci/ is just /pol/ for not brainlets. Then, let me give a try to sci to solve simple problem in one formula.

Imagine, we have three number, let us mark them as A, B and C.
Our objective is to found a sum of numbers between A and B(inclusive), which can be divided by A or C.

For example for A=2, B=10, C=3 our linear calculation is nothing more than:
2+3+4+6+8+10 = 33.

But can you, regular /sci/ anon solve this in one formula?