All about flooble | fun stuff | Get a free chatterbox | Free JavaScript | Avatars    
perplexus dot info

Home > General
The not-always-lying politician (Posted on 2004-02-27) Difficulty: 3 of 5
There happens to be a politician that might lie at any moment (this isn't unusual) but his conscience bothers him enough (now, that is unusual!) so he won't say two lies in a row.

He said ten consecutive statements.

How many combinations of truths/lies can there be?

See The Solution Submitted by Federico Kereki    
Rating: 4.0000 (5 votes)

Comments: ( Back to comment list | You must be logged in to post comments.)
re: Fibo again | Comment 6 of 20 |
(In reply to Fibo again by Ady TZIDON)

Excellent!

Can't the nth Fibonacci number be gotten in 1 step, rather than a number proportional to log(n)?:

F(n)=[(phi^n)/sqrt(5)+.5], where [] represents the floor function, so that [ +.5] represents rounding to the nearest integer, and phi is the golden ratio.

(I tried using the square root symbol in the new editor, but got garbage.  I also tried viewing source and pasting in the ampersand code for phi, but that didn't work either.)

Edited on February 27, 2004, 11:08 am
  Posted by Charlie on 2004-02-27 11:03:24

Please log in:
Login:
Password:
Remember me:
Sign up! | Forgot password


Search:
Search body:
Forums (1)
Newest Problems
Random Problem
FAQ | About This Site
Site Statistics
New Comments (6)
Unsolved Problems
Top Rated Problems
This month's top
Most Commented On

Chatterbox:
Copyright © 2002 - 2024 by Animus Pactum Consulting. All rights reserved. Privacy Information