[ 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.14492289 [View]
File: 23 KB, 924x336, Untitled.png [View same] [iqdb] [saucenao] [google]
14492289

Where does this 2 come from?

It works, but i dont understand why.

a[n] = a[n-1] - n, where a[0] = 4

i got a[n] = (((a[n-3] - (n-2)) - (n-1)) - n)
= a[n-3] - 3n +3
= a[n-3] - 3(n+1)
= a[n-n] - n(n+1)
= a[0] - n(n+1)
= 4 - n(n+1)

but it should be a[n] = 4 - n(n+1)/2

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