You're viewing a comment by bill and its responses.

bill Permalink
October 26, 2017, 15:11

Heres a javascript solution:

function fib(n) {
var a = [0,1];
	while(a[a.length-1] + a[a.length-2]<=n) {
		a.push(a[a.length-1] + a[a.length-2]);
	return a;

Reply To This Comment

(why do I need your e-mail?)

(Your twitter handle, if you have one.)

Type the word "unix_181": (just to make sure you're a human)

Please preview the comment before submitting to make sure it's OK.