(n: number | bigint)
| 1 | import { ComputeEngine } from '../../src/compute-engine'; |
| 2 | import { engine as ce } from '../utils'; |
| 3 | import { CancellationError } from '../../src/common/interruptible'; |
| 4 | |
| 5 | const isOctahedral = (n: number | bigint) => |
| 6 | ce |
| 7 | .expr(['IsOctahedral', ce.number(n)]) |
| 8 | .evaluate() |
| 9 | .toString() |
| 10 | .replace(/"/g, ''); |
| 11 |