Back when I was in fourth grade I knew who Euler was.

29th May 2018, 6:04 PM

Maxwell Anderson

+ 1

im doing a bachelors in math and have no idea what an euler list is, you should probably be more specific

29th May 2018, 5:37 PM

Max

+ 1

i know that stuff. but what is a euler list of a series?

29th May 2018, 5:39 PM

Max

+ 1

so you just want to solve the quadratic 1/2(n^2 +n)? or try all n until you find the right one?

29th May 2018, 5:43 PM

Max

+ 1

yes you can get as close to 0 as you want

29th May 2018, 8:12 PM

Max

+ 1

just watch the playlist that i posted. that dude will explain it far better than i ever could and if you have questions after that you could just post a comment here or on one of my codes and i can help you further

Euler is a mathematician who was once told to write 1+2+3+4+5 to a certain number and he found out that doing that to say 100 is also equal to 100(100+1)/2

29th May 2018, 5:39 PM

Tristan Barker

0

what I'm doing is trying to find that plus be able to plug in a number and it will give you the series for the sum

29th May 2018, 5:40 PM

Tristan Barker

0

basically trying to do it backwards and show the hard work but also solve with his formula

29th May 2018, 5:40 PM

Tristan Barker

0

like 1-36 is 666 so I'd want it to plug in 666 and also tell me that the triangle number comes from 1-x

29th May 2018, 5:41 PM

Tristan Barker

0

an Euler list is something I made up to try and explain what I'm doing

ok, i still dont understand what you want to do with 1-x, so im just going to point out the problems i noticed with your code:
you never change consec so you have an infinite loop, you use way to many braces so python will probably interpret some if your variables as tuples with 1 coordinate. you never use g. i think the stuff below your if should be part of the while loop