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!)
A355438 Lucas(a(n)) is least Lucas number beginning with n. 2
1, 0, 2, 3, 13, 23, 4, 14, 19, 24, 5, 10, 15, 39, 20, 25, 49, 6, 11, 35, 59, 16, 64, 21, 45, 69, 26, 50, 7, 31, 55, 12, 36, 60, 17, 151, 41, 65, 22, 156, 46, 70, 27, 94, 51, 252, 8, 32, 166, 56, 190, 13, 281, 37, 305, 61, 18, 85, 42, 109, 310, 66, 267, 23, 224, 47, 181, 71, 138, 339 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,3
LINKS
Michael S. Branicky, Table of n, a(n) for n = 1..10000 (terms 1..4000 from Michel Marcus)
Ron Knott, Every number starts some Fibonacci Number, The Mathematical Magic of the Fibonacci Numbers.
FORMULA
Trivially a(n) >= log_phi(n-1) for n > 1. Probably upper bounds are obtainable using the theory of linear forms in logarithms. - Charles R Greathouse IV, Jul 08 2022
PROG
(PARI) L(n) = real((2 + quadgen(5)) * quadgen(5)^n); \\ A000032
isok(k, dn) = my(dk=digits(L(k))); if (#dk >= #dn, Vec(dk, #dn) == dn);
a(n) = my(k=0, dn=digits(n)); while (!isok(k, dn), k++); k;
(Python)
def aupton(nn):
ans, f, g, k = dict(), 2, 1, 0
while len(ans) < nn:
sf = str(f)
for i in range(1, len(sf)+1):
if int(sf[:i]) > nn:
break
if sf[:i] not in ans:
ans[sf[:i]] = k
f, g, k = g, f+g, k+1
return [int(ans[str(i)]) for i in range(1, nn+1)]
print(aupton(70)) # Michael S. Branicky, Jul 08 2022
CROSSREFS
Sequence in context: A077248 A282342 A137248 * A358427 A136260 A296932
KEYWORD
nonn,base,look
AUTHOR
Michel Marcus, Jul 02 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 April 19 03:30 EDT 2024. Contains 371782 sequences. (Running on oeis4.)