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

Home > Algorithms
Answer Machine Hacking (Posted on 2004-05-24) Difficulty: 4 of 5
Consider an answering machine with remote inquiry facility, where you can call the answering machine and enter a 4 digit passcode into your telephone keypad, so you can listen to the messages from anywhere you like. Many of these machines will let you in if you enter the correct consecutive sequence of digits, regardless of what preceded that sequence.

Example: Passcode is 1234.

if you feed the machine 1234, you're in.
if you feed the machine 01234, you're in.
if you feed the machine 0121234, you're in.
if you feed the machine 94129838701234, you're in.

To brute-force hack the machine, you could try all numbers from 0000 to 9999, sending 40000 sounds across the wire. But since you are a smart hacker, you see that there's room for optimization. What is the shortest series of digits you have to send to the answering machine in order to break the code in any case?

No Solution Yet Submitted by SilverKnight    
Rating: 4.4286 (7 votes)

Comments: ( You must be logged in to post comments.)
  Subject Author Date
Hints/Tipsre(2): de Bruijn sequencetomarken2006-03-22 15:48:01
re(2): de Bruijn sequenceHugo2006-02-25 12:51:08
Solutionre: de Bruijn sequenceKenny2006-02-25 00:06:49
Solutionde Bruijn sequenceKenny2006-02-25 00:04:02
is this the answerperraju2005-02-08 10:47:14
Looks good, CharlieJohn Loosley2004-05-24 22:27:49
Solutionre: A guessDanny2004-05-24 18:29:09
SolutionWow, got it!Charlie2004-05-24 14:49:11
re: A guessCharlie2004-05-24 14:36:54
Some ThoughtsThe shortest I can figureCharlie2004-05-24 14:34:13
Some ThoughtsA guessJer2004-05-24 14:28:41
Please log in:
Remember me:
Sign up! | Forgot password

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

Copyright © 2002 - 2019 by Animus Pactum Consulting. All rights reserved. Privacy Information