A204892 Least k such that n divides s(k)-s(j) for some j in [1,k), where s(k)=prime(k).
2, 3, 3, 4, 4, 5, 7, 5, 5, 6, 6, 7, 10, 7, 7, 8, 8, 9, 13, 9, 9, 10, 16, 10, 16, 10, 10, 11, 11, 12, 19, 12, 20, 12, 12, 13, 22, 13, 13, 14, 14, 15, 24, 15, 15, 16, 25, 16, 26, 16, 16, 17, 29, 17, 30, 17, 17, 18, 18, 19, 31, 19, 32, 19, 19, 20, 33, 20, 20, 21
Offset: 1
Keywords
A205387
The index j
1, 1, 1, 2, 3, 5, 2, 2, 1, 5, 6, 5, 4, 5, 5, 2, 1, 3, 6, 4, 5, 6, 3, 5, 3, 7, 2, 5, 3, 5, 10, 2, 6, 1, 1, 3, 1, 6, 7, 4, 2, 5, 14, 6, 3, 3, 5, 5, 1, 4
Offset: 1
Keywords
Comments
For a guide to related sequences, see A204892.
Programs
-
Mathematica
(See the program at A205386.)
A205388
Least s(k) such that n divides s(k)-s(j) for some j
3, 3, 10, 35, 35, 462, 10, 35, 10, 1716, 1716, 462, 126, 462, 1716, 35, 35, 24310, 1716, 6435, 462, 1716, 92378, 462, 35, 24310, 462, 462, 126, 1716, 352716, 35, 1716, 35, 1716, 24310, 24310, 1716, 6435, 6435, 126, 462, 77558760, 24310, 24310
Offset: 1
Keywords
Comments
For a guide to related sequences, see A204892.
Links
- Robert Israel, Table of n, a(n) for n = 1..10000
Programs
-
Maple
N:= 100: # for a(1)..a(N) S:=proc(j) option remember; binomial(2*j,j)/2 end proc: A:= Vector(N): T:= {$1..N}: for k from 2 while T <> {} do for j from 1 to k-1 while T <>{} do w:= S(k)-S(j); d:= select(t -> w mod t = 0, T); A[convert(d,list)]:= S(k); T:= T minus d; od; od; convert(A,list); # Robert Israel, Aug 28 2019
-
Mathematica
(See the program at A205386.)
A205390 s(k)-s(j), where (k,j) is the least pair for which n divides s(k)-s(j), and s(j)=(1/2)C(2j,j).
2, 2, 9, 32, 25, 336, 7, 32, 9, 1590, 1254, 336, 91, 336, 1590, 32, 34, 24300, 1254, 6400, 336, 1254, 92368, 336, 25, 22594, 459, 336, 116, 1590, 260338, 32, 1254, 34, 1715, 24300, 24309, 1254, 4719, 6400, 123, 336, 57500460, 23848, 24300
Offset: 1
Keywords
Comments
For a guide to related sequences, see A204892.
Programs
-
Mathematica
(See the program at A205386.)
A205384 Ordered differences of numbers s(j)=(1/2)C(2j,j).
2, 9, 7, 34, 32, 25, 125, 123, 116, 91, 461, 459, 452, 427, 336, 1715, 1713, 1706, 1681, 1590, 1254, 6434, 6432, 6425, 6400, 6309, 5973, 4719, 24309, 24307, 24300, 24275, 24184, 23848, 22594, 17875, 92377, 92375, 92368, 92343, 92252, 91916
Offset: 1
Keywords
Comments
For a guide to related sequences, see A204892.
Examples
a(1)=s(2)-s(1)=3-1=2 a(2)=s(3)-s(1)=10-1=9 a(3)=s(3)-s(2)=10-3=7 a(4)=s(4)-s(1)=35-1=34 a(5)=s(4)-s(2)=35-3=32
Programs
-
Mathematica
(See the program at A205386.)
A205389 s(A205387), where s(j)=(1/2)C(2j,j).
1, 1, 1, 3, 10, 126, 3, 3, 1, 126, 462, 126, 35, 126, 126, 3, 1, 10, 462, 35, 126, 462, 10, 126, 10, 1716, 3, 126, 10, 126, 92378, 3, 462, 1, 1, 10, 1, 462, 1716, 35, 3, 126, 20058300, 462, 10, 10, 126, 126, 1, 35
Offset: 1
Keywords
Comments
For a guide to related sequences, see A204892.
Programs
-
Mathematica
(See the program at A205386.)
A205391 (1/n)*A205390(n).
2, 1, 3, 8, 5, 56, 1, 4, 1, 159, 114, 28, 7, 24, 106, 2, 2, 1350, 66, 320, 16, 57, 4016, 14, 1, 869, 17, 12, 4, 53, 8398, 1, 38, 1, 49, 675, 657, 33, 121, 160, 3, 8, 1337220, 542, 540, 2008, 110642, 7, 35, 128
Offset: 1
Keywords
Comments
For a guide to related sequences, see A204892.
Programs
-
Mathematica
(See the program at A205386.)
A205385 Least h such that n divides the h-th difference between distinct numbers (1/2)C(2j,j), as ordered in A205384.
1, 1, 2, 5, 6, 15, 3, 5, 2, 20, 21, 15, 10, 15, 20, 5, 4, 31, 21, 25, 15, 21, 39, 15, 6, 35, 12, 15, 9, 20, 55, 5, 21, 4, 16, 31, 29, 21, 28, 25, 8, 15, 105, 34, 31, 39, 71, 15, 16, 25
Offset: 1
Keywords
Comments
For a guide to related sequences, see A204892.
Programs
-
Mathematica
(See the program at A205386.)
Comments
Examples
Links
Crossrefs
Programs
Mathematica
PARI