Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on QCL – A Programming Language for Quantum Computers. Parent comment
With this sequence of numbers 1,1,2,3,5,8 it seems to be calculating
f=0 as 2 * 0+1=1 ; f=1 as 2 * 1+1=3 ; f=2 as 2 * 2+1=5 ; f=3 as 2 * 3+2=8 ;
then f=4 should be 2*5+3=13
I'm not sure how 2 is calculated unless i=0, but this is why I'm not even a novice.
There are no comments on this comment yet.
With this sequence of numbers 1,1,2,3,5,8 it seems to be calculating
f=0 as 2 * 0+1=1 ; f=1 as 2 * 1+1=3 ; f=2 as 2 * 2+1=5 ; f=3 as 2 * 3+2=8 ;
then f=4 should be 2*5+3=13
I'm not sure how 2 is calculated unless i=0, but this is why I'm not even a novice.