login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A083403
Write the numbers 1, 2, ... in a triangle with n terms in the n-th row; a(n) = number of squarefree integers in n-th row.
1
1, 2, 2, 2, 4, 3, 3, 6, 6, 5, 7, 8, 8, 8, 10, 8, 10, 11, 12, 13, 15, 11, 14, 14, 16, 14, 15, 19, 19, 19, 18, 20, 19, 21, 21, 22, 24, 21, 24, 26, 22, 27, 26, 26, 27, 27, 29, 30, 30, 31, 32, 32, 33, 32, 34, 35, 35, 33, 36, 34, 36, 37, 40, 37, 42, 40, 41, 43, 42, 44, 40, 45, 44, 46
OFFSET
1,2
EXAMPLE
Triangle begins
1 (1 squarefree)
2 3 (2 squarefree)
4 5 6 (2 squarefree)
7 8 9 10 (2 squarefree)
11 12 13 14 15 (4 squarefree)
16 17 18 19 20 21 (3 squarefree)
PROG
(PARI) {ts(m)=local(r, t); r=1; for(n=1, m, t=0; for(k=r, n+r-1, if(issquarefree(k), t++)); print1(t", "); r=n+r; ) }
CROSSREFS
Sequence in context: A347628 A338796 A085454 * A114091 A209580 A166008
KEYWORD
easy,nonn
AUTHOR
Jason Earls, Jun 07 2003
STATUS
approved