A377041
First term of the n-th differences of the squarefree numbers. Inverse zero-based binomial transform of A005117.
Original entry on oeis.org
1, 1, 0, 1, -3, 6, -8, 3, 22, -92, 252, -578, 1189, -2255, 3991, -6617, 10245, -14626, 18666, -19635, 12104, 13090, -69122, 171478, -332718, 552138, -798629, 982514, -901485, 116219, 2351842, -8715135, 23856206, -57926011, 130281064, -273804584, 535390333
Offset: 0
This is the first column of
A377038.
For nonsquarefree numbers we have
A377049.
A073576 counts integer partitions into squarefree numbers, factorizations
A050320.
Cf.
A053797,
A053806,
A061398,
A072284,
A076259,
A120992,
A376311,
A376590,
A376591,
A377040,
A377046.
-
q=Select[Range[100],SquareFreeQ];
t=Table[Sum[(-1)^(j-k)*Binomial[j,k]*q[[1+k]],{k,0,j}],{j,0,Length[q]/2}]
A378087
First-differences of A067535 (least positive integer >= n that is squarefree).
Original entry on oeis.org
1, 1, 2, 0, 1, 1, 3, 0, 0, 1, 2, 0, 1, 1, 2, 0, 2, 0, 2, 0, 1, 1, 3, 0, 0, 3, 0, 0, 1, 1, 2, 0, 1, 1, 2, 0, 1, 1, 2, 0, 1, 1, 3, 0, 0, 1, 4, 0, 0, 0, 2, 0, 2, 0, 2, 0, 1, 1, 2, 0, 1, 3, 0, 0, 1, 1, 2, 0, 1, 1, 2, 0, 1, 3, 0, 0, 1, 1, 3, 0, 0, 1, 2, 0, 1, 1, 2
Offset: 1
Positions of first appearances are
A020754 (except first term) =
A045882 - 1.
A005117 lists the squarefree numbers.
-
Differences[Table[NestWhile[#+1&,n,#>1&&!SquareFreeQ[#]&],{n,100}]]
A376655
Sorted positions of first appearances in the second differences of consecutive squarefree numbers (A005117).
Original entry on oeis.org
1, 2, 3, 5, 6, 30, 61, 150, 514, 1025, 5153, 13390, 13391, 131964, 502651, 664312, 4387185, 5392318, 20613826
Offset: 1
The squarefree numbers (A005117) are:
1, 2, 3, 5, 6, 7, 10, 11, 13, 14, 15, 17, 19, 21, 22, 23, 26, 29, 30, 31, 33, ...
with first differences (A076259):
1, 1, 2, 1, 1, 3, 1, 2, 1, 1, 2, 2, 2, 1, 1, 3, 3, 1, 1, 2, 1, 1, 2, 1, 1, 2, ...
with first differences (A376590):
0, 1, -1, 0, 2, -2, 1, -1, 0, 1, 0, 0, -1, 0, 2, 0, -2, 0, 1, -1, 0, 1, -1, 0, ...
with sorted first appearances at (A376655):
1, 2, 3, 5, 6, 30, 61, 150, 514, 1025, 5153, 13390, 13391, ...
These are the sorted positions of first appearances in
A376590.
For prime-powers instead of squarefree numbers we have
A376653/
A376654.
For primes instead of squarefree numbers we have
A376656.
A073576 counts integer partitions into squarefree numbers, factorizations
A050320.
For squarefree:
A376591 (inflections and undulations),
A376592 (nonzero curvature).
Cf.
A000961,
A007674,
A053797,
A053806,
A061398,
A072284,
A112925,
A112926,
A120992,
A251092,
A373198,
A376342.
-
q=Differences[Select[Range[1000],SquareFreeQ],2];
Select[Range[Length[q]],!MemberQ[Take[q,#-1],q[[#]]]&]
A373200
Numbers k such that the k-th maximal antirun of squarefree numbers has length different from all prior maximal antiruns. Sorted positions of first appearances in A373127.
Original entry on oeis.org
1, 3, 8, 10, 19, 162, 1633, 1853, 2052, 26661, 46782, 1080330, 3138650
Offset: 1
The maximal antiruns of squarefree numbers begin:
1
2
3 5
6
7 10
11 13
14
15 17 19 21
22
23 26 29
30
31 33
34
35 37
The a(n)-th rows are:
1
3 5
15 17 19 21
23 26 29
47 51 53 55 57
483 485 487 489 491 493
For squarefree runs we have the triple (1,3,5), firsts of
A120992.
For prime runs we have the triple (1,2,3), firsts of
A175632.
For nonsquarefree runs we have
A373199 (assuming sorted), firsts of
A053797.
For composite antiruns we have the triple (1,2,7), firsts of
A373403.
Cf.
A006512,
A007674,
A049093,
A068781,
A072284,
A077641,
A174965,
A251092,
A373198,
A373408,
A373411.
-
t=Length/@Split[Select[Range[10000],SquareFreeQ],#1+1!=#2&]//Most;
Select[Range[Length[t]],FreeQ[Take[t,#-1],t[[#]]]&]
A373414
Sum of the n-th maximal run of nonsquarefree numbers differing by one.
Original entry on oeis.org
4, 17, 12, 16, 18, 20, 49, 55, 32, 36, 40, 89, 147, 52, 54, 56, 60, 127, 68, 72, 151, 161, 84, 88, 90, 92, 96, 297, 104, 108, 112, 233, 241, 375, 128, 132, 271, 140, 144, 295, 150, 305, 156, 160, 162, 164, 337, 343, 351, 180, 184, 377, 192, 196, 198, 200, 204
Offset: 1
Row-sums of:
4
8 9
12
16
18
20
24 25
27 28
32
36
40
44 45
48 49 50
The partial sums are a subset of
A329472.
A375739
Maximum of the n-th maximal anti-run of adjacent (increasing by more than one at a time) non-perfect-powers.
Original entry on oeis.org
2, 5, 6, 10, 11, 12, 13, 14, 17, 18, 19, 20, 21, 22, 23, 28, 29, 30, 33, 34, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 82, 83, 84, 85, 86, 87, 88
Offset: 1
The initial anti-runs are the following, whose maxima are a(n):
(2)
(3,5)
(6)
(7,10)
(11)
(12)
(13)
(14)
(15,17)
(18)
(19)
(20)
(21)
(22)
(23)
(24,26,28)
For nonsquarefree numbers we have
A068781, runs
A072284 minus 1 and shifted.
For anti-runs of non-perfect-powers:
For runs of non-perfect-powers:
-
radQ[n_]:=n>1&&GCD@@Last/@FactorInteger[n]==1;
Max/@Split[Select[Range[100],radQ],#1+1!=#2&]//Most
- or -
radQ[n_]:=n>1&&GCD@@Last/@FactorInteger[n]==1;
Select[Range[100],radQ[#]&&radQ[#+1]&]
A375710
Numbers k such that A013929(k+1) - A013929(k) = 2. In other words, the k-th nonsquarefree number is 2 less than the next nonsquarefree number.
Original entry on oeis.org
5, 6, 9, 19, 20, 21, 33, 34, 36, 49, 57, 58, 62, 63, 66, 76, 77, 88, 89, 91, 96, 97, 103, 104, 113, 114, 118, 119, 130, 131, 132, 136, 142, 149, 150, 161, 162, 174, 175, 187, 188, 189, 190, 201, 202, 206, 215, 217, 218, 225, 226, 231, 232, 245, 246, 249, 253
Offset: 1
The initial nonsquarefree numbers are 4, 8, 9, 12, 16, 18, 20, 24, 25, which first increase by 2 after the fifth and sixth terms.
For nonprime numbers we appear to have
A014689.
A053797 gives lengths of runs of nonsquarefree numbers, firsts
A373199.
A375707 counts squarefree numbers between consecutive nonsquarefree numbers.
Cf.
A007674,
A049094,
A061399,
A068781,
A072284,
A110969,
A120992,
A294242,
A373409,
A373573,
A375927.
A375711
Numbers k such that A013929(k+1) - A013929(k) = 3. In other words, the k-th nonsquarefree number is 3 less than the next nonsquarefree number.
Original entry on oeis.org
3, 16, 23, 27, 31, 44, 46, 51, 55, 60, 68, 74, 79, 86, 95, 101, 105, 107, 112, 116, 121, 126, 129, 146, 147, 152, 159, 164, 167, 172, 177, 182, 185, 191, 195, 199, 204, 209, 220, 223, 229, 234, 237, 242, 244, 257, 262, 270, 275, 285, 286, 291, 299, 305, 312
Offset: 1
The initial nonsquarefree numbers are 4, 8, 9, 12, 16, 18, 20, 24, 25, which first increase by 3 after the third term.
A053797 gives lengths of runs of nonsquarefree numbers, firsts
A373199.
A375707 counts squarefree numbers between consecutive nonsquarefree numbers.
Cf.
A007674,
A014689,
A049094,
A061399,
A068781,
A072284,
A110969,
A120992,
A294242,
A373409,
A375927.
A375712
Numbers k such that A013929(k+1) - A013929(k) = 4. In other words, the k-th nonsquarefree number is 4 less than the next nonsquarefree number.
Original entry on oeis.org
1, 4, 7, 11, 12, 13, 14, 22, 25, 26, 29, 32, 35, 39, 40, 41, 42, 50, 53, 54, 61, 64, 70, 71, 72, 75, 78, 81, 82, 83, 84, 87, 90, 98, 99, 102, 109, 110, 117, 120, 123, 124, 127, 135, 139, 140, 144, 151, 154, 155, 156, 157, 160, 163, 168, 169, 170, 173, 176, 179
Offset: 1
The initial nonsquarefree numbers are 4, 8, 9, 12, 16, 18, 20, 24, 25, which first increase by 4 after the first, fourth, and seventh terms.
A053797 gives lengths of runs of nonsquarefree numbers, firsts
A373199.
A375707 counts squarefree numbers between consecutive nonsquarefree numbers.
Cf.
A007674,
A014689,
A029707,
A049094,
A061399,
A068781,
A072284,
A110969,
A120992,
A294242,
A375927.
A376264
Run-sums of first differences (A078147) of nonsquarefree numbers (A013929).
Original entry on oeis.org
4, 1, 3, 4, 4, 4, 1, 2, 1, 16, 1, 3, 2, 6, 4, 3, 1, 8, 3, 1, 4, 1, 3, 4, 4, 4, 2, 2, 16, 1, 3, 1, 3, 2, 2, 4, 3, 1, 8, 3, 1, 4, 1, 3, 4, 4, 4, 1, 2, 1, 3, 1, 12, 1, 3, 4, 4, 4, 3, 1, 16, 1, 3, 4, 4, 4, 2, 3, 3, 4, 8, 1, 3, 4, 4, 3, 1, 3, 1, 8, 1, 3, 4, 1, 3, 4
Offset: 1
The sequence of nonsquarefree numbers (A013929) is:
4, 8, 9, 12, 16, 18, 20, 24, 25, 27, 28, 32, 36, 40, 44, 45, 48, 49, 50, ...
with first differences (A078147):
4, 1, 3, 4, 2, 2, 4, 1, 2, 1, 4, 4, 4, 4, 1, 3, 1, 1, 2, 2, 2, 4, 3, 1, ...
with runs:
(4),(1),(3),(4),(2,2),(4),(1),(2),(1),(4,4,4,4),(1),(3),(1,1),(2,2,2), ...
with sums (A376264):
4, 1, 3, 4, 4, 4, 1, 2, 1, 16, 1, 3, 2, 6, 4, 3, 1, 8, 3, 1, 4, 1, 3, 4, ...
Before taking run-sums we had
A078147.
For nonprime instead of nonsquarefree numbers we have
A373822.
For run-lengths instead of run-sums we have
A376267.
For squarefree instead of nonsquarefree we have
A376307.
For prime-powers instead of nonsquarefree numbers we have
A376310.
For compression instead of run-sums we have
A376312.
Cf.
A053797,
A053806,
A061398,
A072284,
A120992,
A373197,
A373413,
A375707,
A376305,
A376306,
A376311.
Comments