What's the sum of the first 556 multiples of 47

What's the sum of the first 556 multiples of 47?

1 Comment

Looks like homework.
What is the difficulty in solving this yourself?

Answers (2)

47*sum(0:555)

2 Comments

Azzi, its not working.
What does that mean? how it's not working?
% sum of the first 556 multiples of 47?
the_multiples = 47*(1:556);
the_sum = sum(the_multiples);

This question is closed.

Tags

Asked:

on 19 Jan 2015

Closed:

on 20 Aug 2021

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!