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
A205117
The number s(j) such that n divides s(k)-s(j), where s(j) is the j-th Lucas number and k is the least positive integer for which such a j with 0
Original entry on oeis.org
1, 1, 1, 3, 1, 1, 4, 3, 11, 1, 7, 11, 3, 4, 3, 11, 1, 11, 47, 7, 18, 7, 1, 4, 4, 3, 47, 1, 18, 3, 843, 7, 1, 29, 18, 11, 3, 47, 4, 7, 76, 3, 4, 3, 7, 1, 29, 7, 3, 7, 11, 1, 4, 47, 47, 11, 322, 18, 76, 3
Offset: 1
-
lucas:= gfun:-rectoproc({a(n)=a(n-1)+a(n-2),a(0)=2, a(1)=1},a(n),remember):
f:= proc(n) local j,k,S,t;
S:= [];
for k from 1 do
t:= lucas(k) mod n;
if member(t,S,j) then return lucas(j) fi;
S:= [op(S),t];
od
end proc:
map(f, [$1..100]); # Robert Israel, Jan 21 2018
-
(See the program at A205114.)
A205118
s(k)-s(j), where (s(k),s(j)) is the least pair of Lucas numbers for which n divides their difference.
Original entry on oeis.org
2, 2, 3, 4, 10, 6, 7, 8, 18, 10, 11, 36, 26, 14, 15, 112, 17, 18, 76, 40, 105, 22, 46, 72, 25, 26, 2160, 28, 29, 120, 1364, 192, 198, 170, 105, 36, 518, 76, 195, 40, 123, 840, 43, 44, 315, 46, 47, 192, 196, 2200, 510, 520, 318, 2160, 275, 112, 3249, 58
Offset: 1
A205112
Ordered differences of Lucas numbers.
Original entry on oeis.org
2, 3, 1, 6, 4, 3, 10, 8, 7, 4, 17, 15, 14, 11, 7, 28, 26, 25, 22, 18, 11, 46, 44, 43, 40, 36, 29, 18, 75, 73, 72, 69, 65, 58, 47, 29, 122, 120, 119, 116, 112, 105, 94, 76, 47, 198, 196, 195, 192, 188, 181, 170, 152, 123, 76, 321, 319, 318, 315, 311, 304, 293
Offset: 1
a(1)=s(2)-s(1)=3-1=2
a(2)=s(3)-s(1)=4-1=3
a(3)=s(3)-s(2)=4-3=1
a(4)=s(4)-s(1)=7-1=6
a(5)=s(4)-s(2)=7-3=4
A205113
Least k such that n divides the k-th difference between distinct Lucas numbers.
Original entry on oeis.org
1, 1, 2, 5, 7, 4, 9, 8, 20, 7, 14, 26, 17, 13, 12, 41, 11, 20, 44, 25, 42, 19, 22, 31, 18, 17, 113, 16, 27, 38, 119, 49, 46, 52, 42, 26, 68, 44, 48, 25, 54, 80, 24, 23, 59, 22, 35, 49, 47, 109, 71, 67, 58, 113, 63, 41, 132, 34, 87, 38
Offset: 1
-
N:= 100: # to get terms before the first term > N*(N-1)/2
L:= proc(n) option remember; combinat:-fibonacci(n+1)+combinat:-fibonacci(n-1); end proc:
A205112:= [seq(seq(L(j)-L(i),i=1..j-1),j=2..N)]:
M:= N*(N-1)/2:
f:= proc(n) local k;
for k from 1 to M do if A205112[k] mod n = 0 then return k fi od;
-1
end proc:
R:= NULL:
for n from 1 do
v:= f(n);
if v = -1 then break fi;
R:= R,v
od:
R; # Robert Israel, Feb 25 2024
-
(See the program at A205114.)
A205116
Least s(k) such that n divides s(k)-s(j) for some j
Original entry on oeis.org
3, 3, 4, 7, 11, 7, 11, 11, 29, 11, 18, 47, 29, 18, 18, 123, 18, 29, 123, 47, 123, 29, 47, 76, 29, 29, 2207, 29, 47, 123, 2207, 199, 199, 199, 123, 47, 521, 123, 199, 47, 199, 843, 47, 47, 322, 47, 76, 199, 199, 2207, 521, 521, 322, 2207, 322, 123, 3571
Offset: 1
Original entry on oeis.org
2, 1, 1, 1, 2, 1, 1, 1, 2, 1, 1, 3, 2, 1, 1, 7, 1, 1, 4, 2, 5, 1, 2, 3, 1, 1, 80, 1, 1, 4, 44, 6, 6, 5, 3, 1, 14, 2, 5, 1, 3, 20, 1, 1, 7, 1, 1, 4, 4, 44, 10, 10, 6, 40, 5, 2, 57, 1, 13, 2
Offset: 1
Comments