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!)
A072316 Smallest Fibonacci number containing exactly n 7's. 0

%I #6 Sep 20 2019 14:33:19

%S 987,377,86267571272,7778742049,10284720757613717413913,

%T 781774079430987230203437,1725375039079340637797070384,

%U 17978720198565577104981084195586024127087428957

%N Smallest Fibonacci number containing exactly n 7's.

%e a(2)=377 so 377 is the smallest Fibonacci number containing exactly two 7's.

%t With[{f={#,DigitCount[#,10,7]}&/@Fibonacci[Range[400]]},Table[ SelectFirst[ f,#[[2]] == n&],{n,10}]][[All,1]] (* Requires Mathematica version 10 or later *) (* _Harvey P. Dale_, Sep 20 2019 *)

%K base,nonn

%O 1,1

%A _Shyam Sunder Gupta_, Jul 14 2002

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 23 16:40 EDT 2024. Contains 371916 sequences. (Running on oeis4.)