Go Back > Extra Stuff > Blogorrhea > MattcAnderson

Thread Tools
Old 2017-05-08, 02:32   #1
MattcAnderson's Avatar
"Matthew Anderson"
Dec 2010
Oregon, USA

601 Posts
Smile just an intermediate arithmetic sum

Hi Mersenneforum,

The trick for adding consecutive numbers
in a series
can be to pair up the largest and the smallest
pair up the next largest and smallest
and then you either have one left in the middle
or you don't

So the sum of the counting numbers from 1 to r is

r times the quantity r+1 all over 2.

To compress

we have
This expression is well known by those that well know it.
MattcAnderson is offline   Reply With Quote

Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
Intermediate P-1 results kruoli Software 6 2018-06-24 13:44
.bu file intermediate results zabig Information & Answers 3 2013-01-16 00:42
Error Writing Intermediate File jinydu Lounge 6 2010-09-10 05:47
Intermediate FFT runlenghts smh Software 1 2006-03-22 22:21
Intermediate Files ndpowell Software 3 2005-06-20 22:57

All times are UTC. The time now is 00:11.

Sun Oct 25 00:11:15 UTC 2020 up 44 days, 21:22, 1 user, load averages: 1.96, 2.23, 2.08

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.

This forum has received and complied with 0 (zero) government requests for information.

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.
A copy of the license is included in the FAQ.