r/ProgrammerHumor • • Oct 13 '26

Meme howProgrammingHasChanged

Post image
676 Upvotes

108 comments sorted by

View all comments

Show parent comment

5

u/wjholden Oct 13 '26

Knuth has a really cool section on this on pages 79-84 of TAOCP volume 1.

2

u/shizzy0 Oct 14 '26

Is it the closed form solution? I didn’t even know there was a closed form solution before today.

5

u/captainAwesomePants Oct 14 '26

That's the whole section on Fibonacci. It does mention the closed form solution, but it also mentions the matrix identity method in the top right corner: ( (F(n+1), F(n)),(F(n), F(n-1)) = ((1,1),(1,0))^n

He credits it to Kepler in 1608.