Public
Edited
Aug 9
1 fork
Insert cell
Insert cell
Insert cell
{
if (isPrime(s) && primes.has(s)) {
return "This is prime number, look down. It will be perfect number";
} else {
return "This isn't prime number ";
}
}
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
{
let primes = new Set(Array(664579)(import {primes, isPrime} from "@universe2/primes")),
}
Insert cell
Insert cell
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