Help! Euler list of series for x lim of n as n approaches x | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Help! Euler list of series for x lim of n as n approaches x

29th May 2018, 5:29 PM
Tristan Barker
Tristan Barker - avatar
104 Answers
+ 2
Back when I was in fourth grade I knew who Euler was.
29th May 2018, 6:04 PM
Maxwell Anderson
Maxwell Anderson - avatar
+ 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
Max - avatar
+ 1
i know that stuff. but what is a euler list of a series?
29th May 2018, 5:39 PM
Max
Max - avatar
+ 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
Max - avatar
+ 1
yes you can get as close to 0 as you want
29th May 2018, 8:12 PM
Max
Max - avatar
+ 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
29th May 2018, 8:54 PM
Max
Max - avatar
+ 1
do you still want help with your code?
29th May 2018, 8:54 PM
Max
Max - avatar
29th May 2018, 5:33 PM
Tristan Barker
Tristan Barker - avatar
0
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
Tristan Barker - avatar
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
Tristan Barker - avatar
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
Tristan Barker - avatar
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
Tristan Barker - avatar
0
an Euler list is something I made up to try and explain what I'm doing
29th May 2018, 5:43 PM
Tristan Barker
Tristan Barker - avatar
0
something like this for the gauss formula https://code.sololearn.com/cm9k0ZfID1j0/?ref=app ? need to read up on what a triangular number is before helping you with that
29th May 2018, 5:50 PM
Max
Max - avatar
0
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
29th May 2018, 5:58 PM
Max
Max - avatar
0
noice
29th May 2018, 6:06 PM
Tristan Barker
Tristan Barker - avatar
0
okay so 1-x is 1 through x or 0,x
29th May 2018, 6:07 PM
Tristan Barker
Tristan Barker - avatar
0
triangular means the sum of consecutive numbers
29th May 2018, 6:07 PM
Tristan Barker
Tristan Barker - avatar
0
and no I want to solve 1/2(n(n+1)
29th May 2018, 6:08 PM
Tristan Barker
Tristan Barker - avatar
0
but I did it like n(n+1)/2
29th May 2018, 6:08 PM
Tristan Barker
Tristan Barker - avatar