|
|
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<j<k exists.
|
|
3
|
|
|
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
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,4
|
|
COMMENTS
|
For a guide to related sequences, see A204892.
|
|
LINKS
|
|
|
MAPLE
|
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:
|
|
MATHEMATICA
|
|
|
CROSSREFS
|
|
|
KEYWORD
|
|
|
AUTHOR
|
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|