Published
Edited
Aug 1, 2021
Insert cell
md`# 王紫奥`
Insert cell
{
let a = [0, 1, ];
a[1] = 5;
return a;
}
Insert cell
{
let a = [];
for (let i = 0; i < 5; i++) {
a[i] = i * 5;
}
return a
}
Insert cell
{
let a = [1, 1];
for (let i = 2; i < 20; i++) {
a[i] = a[i - 1] + a[i - 2];
}
return a
}
Insert cell
Insert cell
{
let a = [1, 1];
for (let i = 2; i < 20; i++) {
a[i] = 2 * a[i - 1] + 3 * a[i - 2];
}
return a
}
Insert cell

Purpose-built for displays of data

Observable is your go-to platform for exploring data and creating expressive data visualizations. Use reactive JavaScript notebooks for prototyping and a collaborative canvas for visual data exploration and dashboard creation.
Learn more