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!)
A132365 Least number k such that the Lucas number A000032(k) contains n. 1
1, 0, 2, 3, 13, 9, 4, 6, 7, 24, 5, 10, 15, 26, 20, 25, 49, 6, 11, 16, 13, 12, 10, 21, 45, 40, 20, 36, 7, 31, 50, 12, 35, 19, 17, 15, 41, 36, 22, 23, 39, 39, 14, 21, 41, 60, 8, 32, 19, 56, 20, 13, 45, 37, 51, 44, 17, 56, 42, 22, 25, 62, 35, 15, 71, 47, 25, 24, 43, 32, 17, 45, 49, 38 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,3
COMMENTS
Values such that a(n)=n (fixed points) are 1, 62. I don't know if there are any other fixed points. The first time a(n)=a(n+1) occurs because L(39)=141422324 which includes both 41 and 42 (and later on in the sequence, because it contains 141 and 142). [Sean A. Irvine, Nov 30 2009]
LINKS
FORMULA
a(n) = Min{k such that A000032(k) contains the decimal digit substring which represents the integer n}.
PROG
(Python)
def A132365(n):
a, b, m, s = 2, 1, 0, str(n)
while True:
if s in str(a):
return m
m += 1
a, b = b, a+b # Chai Wah Wu, Jun 06 2017
CROSSREFS
Sequence in context: A110362 A074478 A046421 * A129671 A117684 A056445
KEYWORD
base,easy,nonn
AUTHOR
Jonathan Vos Post, Nov 08 2007
EXTENSIONS
Incorrect comment removed by Sean A. Irvine, Nov 30 2009
Corrected and extended by Sean A. Irvine, Nov 30 2009
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 25 05:18 EDT 2024. Contains 371964 sequences. (Running on oeis4.)