[ 3 / biz / cgl / ck / diy / fa / ic / jp / lit / sci / vr / vt ] [ index / top / reports ] [ become a patron ] [ status ]
2023-11: Warosu is now out of extended maintenance.

/sci/ - Science & Math

Search:


View post   

>> No.2809484 [View]
File: 38 KB, 444x290, Tracks Spiderman.jpg [View same] [iqdb] [saucenao] [google]
2809484

Three integers x, y and z are given the numbers 1, 1000 and 2 respectively. The integers are placed through a loop. For every loop that occurs, z is squared then subtracted from y and added to x. The loop breaks when x = y or x > y. How many loops will occur before the loop breaks?

Navigation
View posts[+24][+48][+96]