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!)
A137494 Fibonacci numbers where no digit is a prime. 0

%I #5 Nov 21 2013 12:49:19

%S 0,1,1,8,89,144,610,4181,10946,196418

%N Fibonacci numbers where no digit is a prime.

%C No more terms up to Fibonacci[10000). [From Harvey P. Dale, Oct 10 2011]

%e 196418 is 27th Fibonacci number in which every digit is not a prime.

%p ap := proc(n) local i, j, st, st_mn, ans, stevec; ans := [ ]: for i from 0 to n do st := combinat[fibonacci](i): st_mn := convert(convert(st, base, 10), set): stevec := 0: for j from 1 to nops(st_mn) do if (member(op(j,st_mn), {0, 1, 4, 6, 8, 9}) = true) then stevec := stevec + 1: fi od; if (stevec = nops(st_mn)) then ans:=[ op(ans), st ]: fi od; RETURN(ans): end: ap(100000);

%t Select[Fibonacci[Range[0,10000]],Union[PrimeQ[IntegerDigits[#]]] =={False}&] (* _Harvey P. Dale_, Oct 10 2011 *)

%Y Cf. A000045, A136340.

%K nonn,base

%O 1,4

%A _Jani Melik_, Apr 22 2008

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 24 20:08 EDT 2024. Contains 371963 sequences. (Running on oeis4.)