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!)
A057045 Let R(i,j) be the rectangle with antidiagonals 1; 2,3; 4,5,6; ...; the n-th Lucas number is in antidiagonal a(n). 4
2, 1, 2, 3, 4, 5, 6, 8, 10, 12, 16, 20, 25, 32, 41, 52, 66, 85, 107, 137, 174, 221, 281, 358, 455, 579, 737, 937, 1192, 1516, 1929, 2454, 3121, 3970, 5050, 6424, 8171, 10394, 13221, 16818, 21393, 27212 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
FORMULA
Round(sqrt(2*A000032(n-1))). - Vladeta Jovovic, Jun 14 2003
PROG
(Python)
from gmpy2 import isqrt_rem, lucas
def A057045(n):
i, j = isqrt_rem(2*lucas(n-1))
return int(i + int(4*(j-i) >= 1)) # Chai Wah Wu, Aug 16 2016
CROSSREFS
Sequence in context: A080915 A239484 A058714 * A237753 A058700 A220237
KEYWORD
nonn
AUTHOR
Clark Kimberling, Jul 30 2000
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 May 5 16:34 EDT 2024. Contains 372275 sequences. (Running on oeis4.)