Under OEIS A005117, a Squarefree number is a number that are not divisible by a square of a smaller integer greater than 1. First 6 Squarefree numbers are 1, 2, 3, 5, 6, 7.
Squarefree(n, gmp = TRUE)
the number of first
a vector of length
n containing first entries from the sequence.
## generate first 30 Squarefree numbers print(Squarefree(30))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.