login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A347861 a(n) = A000032(n)*A000032(n+1) mod A000032(n+2). 4
2, 3, 5, 6, 5, 24, 5, 71, 5, 194, 5, 516, 5, 1359, 5, 3566, 5, 9344, 5, 24471, 5, 64074, 5, 167756, 5, 439199, 5, 1149846, 5, 3010344, 5, 7881191, 5, 20633234, 5, 54018516, 5, 141422319, 5, 370248446, 5, 969323024, 5, 2537720631, 5, 6643838874, 5, 17393795996, 5, 45537549119, 5, 119218851366, 5 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,1
COMMENTS
The analogous sequence for Fibonacci numbers instead of Lucas numbers is A333599.
LINKS
FORMULA
G.f.: 4*x - 3 - (x + 3)/(2*(x^2 + x - 1)) - (x - 3)/(2*(x^2 - x - 1)) + 5/(x + 1).
a(n) = -a(n-1) + 3*a(n-2) + 3*a(n-3) - a(n-4) - a(n-5) for n >= 7.
a(n) = 5 for even n >= 2.
a(n) = A000032(n+2)-5 for odd n >= 3.
EXAMPLE
a(3) = A000032(3)*A000032(4) mod A000032(5) = 4*7 mod 11 = 6.
MAPLE
L:= n -> combinat:-fibonacci(n-1)+combinat:-fibonacci(n+1):
f:= n -> L(n)*L(n+1) mod L(n+2):
map(f, [$0..40]);
MATHEMATICA
With[{L = LucasL}, Table[Mod[L[n]*L[n + 1], L[n + 2]], {n, 0, 50}]] (* Amiram Eldar, Jan 24 2022 *)
PROG
(PARI) L(n) = fibonacci(n+1)+fibonacci(n-1);
a(n) = L(n)*L(n+1) % L(n+2); \\ Michel Marcus, Jan 24 2022
CROSSREFS
Sequence in context: A247548 A001600 A175578 * A316609 A307327 A000036
KEYWORD
nonn,easy
AUTHOR
J. M. Bergot and Robert Israel, Jan 23 2022
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified March 29 02:23 EDT 2024. Contains 371264 sequences. (Running on oeis4.)