You can
put this solution on YOUR website!one formula is

where a is first term and l is last term.
Issue is, how many terms?, well 3,6,9,...,102 is the 3-times table with 34 terms.
1,4,7,...,100 is the same set of numbers, shunted down by 2... so 34 terms.
so,
jon.