A164280
a(n) is the sum of the first A129749(n) nonprimes.
Original entry on oeis.org
1, 64, 800, 1452, 207143, 14934568, 18656679, 42721785, 889239450, 1991045973, 6684665064, 11847007536, 127880982508860, 262907426075600, 435646635220423, 58536266213035868, 1777764795352216572, 5690843954660983949, 190101452851104748107, 71537286176000166753366
Offset: 1
A129749(4) = 44; sum of first 44 nonprimes is 1452, so a(4) = 1452.
A179860
Integer averages of first n noncomposites for some n.
Original entry on oeis.org
1, 2, 6, 636, 1592, 2574, 292656, 917042, 1108972, 1678508, 3334890730, 3981285760, 28567166356, 32739591796, 83332116034, 871263881618, 1055495274756
Offset: 1
Sum of first 7 noncomposites is 42; 42 / 7 = 6 is in the sequence.
A165239
Integers of the form "partial sum of the first k nonprimes divided by the k-th nonprime.".
Original entry on oeis.org
1, 8, 9, 46, 172, 1188, 4708, 28611, 480644, 785709, 1061769, 24947740, 31585866, 110275647, 149612794, 159273153, 396643326, 586740520, 622899752, 769642427, 979286966, 2603393493, 4102885015, 4313575355, 5075807081, 5890950206, 16152068952, 62853548947
Offset: 1
(1 + 4 + 6 + 8 + 9 + 10 + 12 + 14 + 15 + 16 + 18 + 20 + 21 + 22)/22 = 8.
(1 + 4 + 6 + 8 + 9 + 10 + 12 + 14 + 15 + 16 + 18 + 20 + 21 + 22 + 24 + 25)/25 = 9.
(1 + 4 + 6 + 8 + 9 + 10 + 12 + 14 + 15 + 16 + 18 + 20 + 21 + 22 + 24 + 25 + 26 + 27 + 28 + 30 + 32 + 33 + 34 + 35 + 36 + 38 + 39 + 40 + 42 + 44 + 45 + 46 + 48 + 49 + 50 + 51 + 52 + 54 + 55 + 56 + 57 + 58 + 60 + 62 + 63 + 64 + 65 + 66 + 68 + 69 + 70 + 72 + 74 + 75 + 76 + 77 + 78 + 80 + 81 + 82 + 84 + 85 + 86 + 87 + 88 + 90 + 91 + 92 + 93 + 94 + 95 + 96 + 98 + 99 + 100 + 102 + 104 + 105 + 106 + 108 + 110 + 111 + 112 + 114 + 115 + 116 + 117 + 118)/118 = 46.
-
lst={};a=0;Do[If[ !PrimeQ[n],m=n;a+=m;If[IntegerQ[a/n]&&a!=n,AppendTo[lst,a/n]]],{n,5*9!}];lst
-
lista(kmax) = {my(s = 1); print1(1, ", "); forcomposite(k = 1, kmax, s += k; if(!(s%k), print1(s/k, ", ")));} \\ Amiram Eldar, May 24 2024
Showing 1-3 of 3 results.
Comments