Viewing profile — mschoenert
mschoenert
HN member- Joined
- Fri, Dec 23, 2022, 9:07 PM UTC
- HN karma
- 6
- Public activity
- 5 items
- HN profile
- View on Hacker News ↗
About mschoenert
No profile information was provided.
Recent public activity
-
comment
Comment #43208397
This prime generating code has fascinated me for a while. It was first described by E.W. Dijkstra "Notes on Structured Programming (EWD249), 2nd; 1970; TH Eindhoven". https://www.c…
-
comment
Comment #34116717
No - there isn't really an O(1) solution. And the reason is that the Fibonacci numbers grow without limit. So there can't be an O(1) algorithm - even just writing down the answer t…
-
comment
Comment #34110934
As pointed out above - the most efficient to compute large fibonacci numbers is to compute the matrix power [[1,0],[1,1]]^n using repeated squaring. Or you could use the known iden…
-
comment
Comment #34110848
My thoughts at this point in the original article was: Well - if you want to demonstrate how mathematics helps here, then you should mention that computing the n-th fibonnaci numbe…
-
comment
Comment #34110715
The idea that the "Lisp programmers" are somehow adverse to mathematics is historically untenable. Macsyma was written in Lisp. And Macsyma was one of - if not THE most important a…