Jump to content
BrainDen.com - Brain Teasers

Leaderboard

Popular Content

Showing content with the highest reputation since 02/10/17 in all areas

  1. I assume that they also all get the clue that their numbers are unique.
    2 points
  2. With a tip of the hat to @BMAD for his interesting puzzle. For your amusement, here's an interesting spin on this genre: One night you encounter a two-hour traffic delay due to an accident (the tow truck had difficulty clearing the road.) So, for a time interval 13 of two hours you were constrained to travel at 0 mph. You called home and said, sorry dear, but I'll be two hours late getting home. The next night, for some unimaginable reason, you were also constrained to travel part of the way at 0 mph, this time for a distance of one inch. What do you say now when you call home?
    2 points
  3. In our circles you may find A laugh, a wink, a grin But pressure us we'll likely snap And send away our kin. We don't do much, we go to pot Such simple ones are we But with your hand we take command Or from you we will flee.
    2 points
  4. Hopefully this one has not appeared before... Suppose 27 identical cubical chunks of cheese are piled together to form a cubical stack, as illustrated below. What is the maximum number of these cheese chunks through which a mouse of negligible size could munch before exiting the stack, assuming that the mouse always travels along the grid of 27 straight lines that pass through the centers of the chunks parallel or perpendicular to their sides, always makes a 90 degree turn at the center of each chunk it enters, and never enters any chunk more than once?
    1 point
  5. Use the twelve pieces on the left to create a chess board, The pieces may be flipped!
    1 point
  6. Perhaps your question may hinge on the source of variability. Pistol has 5-7. In any skirmish, is the choice between 5, 6, 7 made by the program randomly? Or does it depend upon distance to target? Or visibility ( like heavy, light or no fog)? And, as Pickett points out, damage radius is a key parameter of the Dupuy lethality index.
    1 point
  7. Fuzzy thoughts:
    1 point
  8. You are shown a pile of dimes all of which have one of two distinct weights differing by a small amount not detectable by feel. Forty eight dimes are separated from this pile and you are told of these forty eight, light ones are a dime a dozen (literally - i.e. 44 heavy dimes and 4 light dimes). Using a balance scale twice, find seven heavy dimes. EDIT: for clarification
    1 point
  9. 1 point
  10. Ten years ago I called attention to a number that when divided by a single integer p it left a remainder of p-1. (Help, a remainder is chasing me) Here is a chance to construct a nine-digit number, a permutation of { 1 2 3 4 5 6 7 8 9 } that has no remainders, sort of. The task is to permute { 1 2 3 4 5 6 7 8 9 } to create a number whose first n digits is a multiple of n for any single-digit n. For example, consider 123654987. Its first 2 digits (12) are divisible by 2. It's first 5 digits (12365) are divisible by 5. However this is not a solution, since 1236549 is not a multiple of 7.
    1 point
  11. Does the Indy trap appear even if it doesn't save anyone from actual death? Can they act on themselves? Do the goodie save and the Indy trap appear identically in the night post?
    1 point
  12. Signups: 1. Gavinksong2. Flamebirde3. Nana774. plasmid5. phil18826. bonanova 7. aura8.9. 10.11.12 I've just moved, to Ohio, from NY and drowning in the details of it. Reluctant to pledging my attention here. But, I'll give it a shot ... Should be able to check in at least daily.
    1 point
  13. If a box contains twenty-one coloured discs, composed of fifteen blue discs and six red discs, and two discs were taken at random, it can be seen that the probability of taking two blue discs, P(BB) = (15/21)×(14/20) = 1/2. The next such arrangement, for which there is exactly 50% chance of taking two blue discs at random, is a box containing eighty-five blue discs and thirty-five red discs. By finding the first arrangement to contain over 1012 = 1,000,000,000,000 discs in total, determine the number of blue discs that the box would contain.
    1 point
  14. Sorry, something got lost in copying and pasting. The site does not like the formatting used in word, so I am attaching a picture of the solution ... apologies in advance.
    1 point
  15. import java.util.*; public class lychrel { public static long palin(long n) { long m,p=0; while(n>0) { m=n%10; p=(p*10)+m; n=n/10; } return p; } public static void main(String ar[]) { long a,l,i,j=0,t,it=0; Scanner v=new Scanner(System.in); a=v.nextInt(); l=a+palin(a); t=palin(l); for(i=1;i<=10;i++) { it++; if(l==t) break; else { l=l+palin(l); t=palin(l); } if(i==4) j=l; } if(l!=t) { System.out.println(a+" is a Lychrel Number"); System.out.println("5th iteration of number "+a+" is "+j); } else System.out.println(it); } }
    1 point
  16. We're being intruded by migrants secluded Who stowaway past our frontier They're costing us green and will linger unseen Unless I should get into gear Their nature I'll dredge as I perch on a ledge And twisting the truth's my endeavor Exposed to the nation, and next: deportation They thought they'd endure thus forever? I promise the answer has nothing to do with politics
    1 point
  17. Hirk had to have been a goodie: baddie wouldn't target himself for a kill, and Indy can't be killed N1.
    1 point
  18. Edit - double post, so I thought I'd take this time to post a dancing monkey gif. Enjoy.
    1 point
  19. Can I be the one to own you Molly? Or be owned by you? Please
    1 point
  20. Player A has one more coin than player B. Both players throw all of their coins simultaneously and observe the number that come up heads. Assuming all the coins are fair, what is the probability that A obtains more heads than B?
    1 point
  21. (BR / BL +UR) UL Thus... (8/4 +2) 3= 12 (2/1 + 6) 4= 32 (9/3 +4) 2= 14 and for the last one.. (6/2 +3) 5 = 30
    1 point
  22. On my phone, I see a link on each post that says "quote". I can sort of copy and paste the roster on phone but as I found out last game, the cursor had an unfortunate habit of moving... Spoilers and colors on phone have to be done with the [ ] codes. Spoiler: {spoiler}your text here{/spoiler} with [ ] instead of { }. No spoiler titles. Colors: {color=red/orange/whatever}text here{/color} also with [ ] instead of { }.
    1 point
  23. @MissKitten Tagging does not work on mobile and quoting is hard on mobile as well. But other than that, on a PC, one can copy-paste colors and not bother with quoting the roster altogether. Which is cool. At least from a host's PoV.
    1 point
  24. I think it's fair to say that the Coup of Rhotus is effectively dead for now; we're having enough trouble getting signups for a ten player game as is. Maybe once we build the player base a bit we can try to revive it, but for now I think it's rather unlikely. On the other hand, Forgotten Districts is in signups, and that's relatively close to getting off the ground!
    1 point
  25. Roster: 1. maurice 2. Flamebirde 3. Molly Mae 4. 5. 6. Hirkala 7. bonanova 8. 9. 10. Roster: 1. maurice 2. Flamebirde 3. Molly Mae 4. 5. 6. Hirkala 7. bonanova 8. 9. 10. Mafia!!! Been too long! I don't know if I was supposed to leave it doubled, but I did. Hi, everyone!
    1 point
  26. UN Mafia III Secret Alliance: Wincon - Last standing China -- The size of the country allowed it to send a replacement for the representative lost in the previous game. Each night chooses a player to target and remove from the game. Action is unstoppable except via save. Will use its electronic interception technologies to find out the identity of the target if target is saved. Once during the game (ODTG) can remove a vote. UN Alliance: Wincon - Last standing. USA -- The size of the nation and its offensive capabilities, demand it acts but not two nights in a row. Chooses to invade (kill) on even or odd nights at the beginning of the game. Must invade on said night, if no target is drawn it is randomly selected (cannot invade self). Germany -- Its economic influence grows steadily which leads to an increase in political influence. Sometimes is forced to save nations in dire need, but would prefer preventing actions. Each night can save a player but there's a 50% chance that this backfires in which case Germany loses its vote the next day. Russia -- Has hundreds of satellites floating in space. Can use one per night to spy an alive nation either to see who targeted it or to see who that nation acted upon. Once during the game (ODTG) Russia can instead get lucky and find out a player's true role. United Kingdom -- Has worldwide influence among its former colonies. Once per night it can blockade a country, but not the same country twice in a row. Blockading stops any day or night action except for ODTG actions and the Secret Alliance's night invasion. Australia -- Has an interesting choice of possibilities due to its cultural diversity. Has 4 agents at its disposal, each can be used once: 1. Add 1 extra secret vote, 2. Remove a vote, 3. Protect (save but cannot be cast on self), 4. Break quarantine (used during the day can make the player quarantined by Sweden able to vote and be voted for). Indy Sweden -- A nation with nothing to contribute to war and naturally inclined to peace. From time to time, may choose to temporarily side with a Faction or the other, in order to protect its own interests. Each night can quarantine a country but not the same twice in a row. Quarantine acts like a trap - saves from kills / invasions and renders the target neutral - unable to vote the next day or be voted for (but can speak). Once during the game (ODTG) can veto out a country (RID Kill) at any point during the day or the night, but will forfeit acting the next night if that happens. Sweden cannot die N1 (NK attempt won't appear in the NP). Wincon: Outlive two secret countries and the Secret Alliance. Stops game if successful. Must be alive at the beginning of the next phase in order for "outlive" to be counted. Secret targets are drawn at the beginning of the game and are known only to Indy. Rules * NP shows invasions (kill), protections (saves) and quarantines (trap). * DP shows lynched players (no hint if the vote was manipped. * Tie: D1 no lynch, D2+ all players in tie are lynched. * OOA: Night invasion (kill) >> Blockade (block) > Quarantine (trap) > Protect (save) > Regular invasion > Spy * Blockade / Quarantine will be told to the players regardless if they had an action that was blocked or not * Regular invasion can be blocked, the SA night invasion cannot be blocked, only saved from * Sweden's ODTG RID veto cannot be blocked or saved from as it happens instantly Players: 1. Thalia 2. bonanova 3. Molly Mae 4. Flamebirde 5. maurice 6. MikeD 7. plasmid Backups: 8. 9. Roles are out, Night 1 ends Monday Feb 20th at 9 PM UTC (About UTC). That means 4 PM EST and 11 PM for me.
    1 point
  27. If it makes you feel any better, I had you and Molly as Germany and Russia before the mass outing. Thought bonanova sort of claimed Australia earlier but figured if the US killed him I'd be better off whether he was Australia or China. He seemed like the biggest threat to me with his day actions. If maurice had removed a vote besides flamebirde's, it would have been a tie and I wouldn't have even got the chance to use my RID kill. When I was first reading through, I didn't realize you were expecting me to kill Molly. Got a bit of a laugh from that. So the biggest thing the mass outing accomplished was it made sure you got China. If you had lynched fb, I would have RID killed maurice which would have been blocking. I did get really lucky with bonanova getting the UK lynched D1 so thanks for that. On another note, I came extremely close to not acting at all N2 to try to frame plasmid as Sweden. Might have given mo's claim more credibility with neither Sweden nor China showing... So now that I know asking won't get me killed, what's a PGP public key block? And where were those soft claims?
    1 point
  28. Hey guys, sorry I'm here. Didn't realize I could talk when I was trapped and then I'm having issues accessing the site on my phone. I'm on through Firefox now and it works better than Chrome I guess. I will catch up at lunch and see what I can contribute, hopefully before the night ends in case I was mercy/mod killed.
    1 point
  29. @Thalia, good points. I've played only a few Mafia games. I wish I had accepted Unreality's invite to play, back in the day, and learned it better. Coupled with a hope for a few more games to follow this one. My comfort zone is math and logic, where all the needed info is provided, just needing insight and clear thought. This is more fun, actually, and with experience I might get better. Or, I'm a very slippery guy and everything I just said is garbage. . When does the night end?
    1 point
  30. @Thalia Understand, (with apologies to the players.) Hanlon's Razor. Seriously, what do we know about maurice?
    1 point
  31. Taps watch. Oops. RIP MikeD. Would love to hear from maurice.
    1 point
  32. Night 1: Once more unto the breach. Once more? ~~~~~ Seven people awoke at the same time to find themselves in a dimly lit room. A round doughnut table with chairs was in the center of the room. Most of them were dressed informally and as they surveyed their surroundings some tried to remember where there were the previous day. Yeah, everybody pretty much wanted an explanation for their presence there. Some had heard rumors of experiments in previous years and some had witnessed them but memories were fickle at best. And most had refused to believe something like this could happen to them (again). As rumors were passed in whispers from one another the chatter increased across the room. A flash and a hooded figure appeared in a mist in the center of the round table, surrounded by a cone of light. "If you can have a seat, I'm sure we can find a way to answer your questions as quick as possible. Some of you might already know where I'm going with this ... but I'm afraid that lessons were not learned, so he we are again.", they heard from the figure. One by one they moved towards the table, eyes cast on the figure. "Sometime ago, after being fed up with your reckless messing with forces beyond your control, I've attempted to ... mend the ends so to speak. While it worked for a little while, the situation has taken a turn for the worse recently and I find myself again unable to stand idly and watch. So hear me out!". "You are playing for your lives and your nations interests as well. Out of this room, you'll find color coded rooms. Don't mind the empty rooms. Inside your room you will each find a safe that only opens with your fingerprints and iris scans. Inside the safe an envelope with instructions. Study them wisely and remember time is scarce. Also, nothing exists outside of these rooms unless I tell you. We’ll adjourn in the morning!" The Hooded Figure disappeared without a sound and the doors squeaked open by themselves. One by one, they retreated to find their quarters. ~~~~~ The Secret Alliance member was watching his target from across the bar. As he watched his target order another round of drinks he sighed. "Yet another Bond". He left the bar twenty seconds after his target and walked towards faking a dizzy step along the way. As Plasmid stopped at his door and glanced over the shoulder, all he saw was someone trying to find balance. Key in door, he heard the blip from the door opening followed by the crush of a body against the floor. "Are you OK buddy?" he asked turning around slowly ... but as his eyes began to take in the sight he felt a tingling in his neck. As his hand tried to reach up towards the place his brain wanted investigated, his own brain played a trick on him. It surely wasn't that big of a ... he fought to finish that thread of thought as he collapsed to the floor, caught by hands that muffled the sound. His body was not to be found till morning. ~~~~~ The Swede had studied all the things the Hooded Figure had provided him with and pondered his odds. He had to be subtle about it, cause no one actually wants peace with both arms open. He went off the corridors and to the fifth room on the corridor. Cautiously he sprayed the content of one of the vials in his toolkit to the doorknobs and heard a small puff as the metal liquified. Maurice won't be joining tomorrow's talks. Except via Skype but that wasn't counting as present nowadays. ~~~~~ Tl;dr version: ~~~~~ Players: 1. Thalia 2. bonanova 3. Molly Mae 4. Flamebirde 5. maurice - quarantined by Sweden 6. MikeD 7. plasmid - Invaded N1 by China Day 1 ends Wednesday Feb 22nd at 9 PM UTC (About UTC). That means 4 PM EST and 11 PM for me.
    1 point
  33. I was thinking more like 7 = 1 baddie vs 5 goodies vs 1 indy, hosted 2 Mafias the same size recently so I'm pretty sure I can balance it in a classical setting. If no one signs up till Friday night, I'll trim it, send out the roles and N1 can end Monday. The individual wincons can't be balanced for a trimmed version unfortunately. Anyone leaving the game would make it lopsided and I don't see enough ideas of individual wincons to make a miracle in-game balance for events. But I guess I can run it again in the future as a redux of the OP if there are more people interested during the summers for example. So, all is not lost. I'd rather have you play since you all showed up and signed up
    1 point
  34. Around World Series time recently, (that's the American baseball championships for our international Denizens) I asked the question, dressed as a probability puzzle, "Given that you could pick one of the best-of-seven games in the series that you could guaranty to win, which game would that be? I even flavored the question with the opinions of experts that the pivotal games are often taken to be game 3 or game 5, as statistically these games correlated well with the eventual winner. And many responded with one of those choices for their answers. But the correct answer of course is game 7. (Or as some said, the Last game.) So I also like the "one with the car" choice.
    1 point
  35. I think phaze is right about the most practical answer. If that fails, I tend to agree with bonanova.
    1 point
  36. Agree. When I hit the send button, I realized my thinking was too simple. But instead of deleting my post (moderator privilege) I left it to take its licks.
    1 point
  37. I believe you replace the ? with digits.
    1 point
  38. Divide the thirty coins into four groups of 9, 9, 9, and 3. Label the 9 coin piles as 9a, 9b, and 9c. Weighing number one is 9a vs. 9b. If they balance, the odd coin is in either in 9c or in the pile of 3. If so, then weighing Number 2 is 9a vs. 9c. If they balance, then the odd coin is in the pile of 3. Label the three coins the pile of 3 as 3a, 3b, and 3c. Weighing number 3 is 3a vs. 3b. If they balance, the odd coin is 3c. In that case, weighing number four is 3c vs. any other coin to determine if the odd coin is lighter or heavier than the rest. If after weighing No. 3, coin 3a does not balance against coin 3b, then one of them must be the odd coin. Remove the lighter coin, let’s say it’s 3b, and place coin 3c on the scale against the remaining heavier one, 3a. If they balance, then the odd coin is 3b and it is lighter. If they do not balance, then the odd coin is 3a and it is heavier. Now let’s go back and see what happens if the first weighing has a different outcome. Weighing number one was 9a vs. 9b. Let’s say that they do NOT balance. That means that the odd coin is in either 9a or 9b. Note which of the two is heavier. Let’s say 9a is heavier. Weighing number two is 9a vs. 9c. They will either balance or 9a will be heavier. There is no possibility that 9a will be lighter. If 9a and 9c balance that means that the odd coin is in 9b and that it is lighter. If 9a is again heavier, that means that the odd coin is in 9a and it is heavier than the rest. Let’s say it’s in 9a and it’s heavier. Now divide 9a into three groups of three coins each. Label them 3A, 3B, and 3C. Weighing number three is 3A vs 3B. If they balance then the odd (heavier) coin is in 3C. If they do not balance, the odd (heavier) coin is in the heavier of 3A or 3B. Take the group of the three that contains the odd coin and divide it into 3 individual coins: 1a, 1b, and 1 c. The fourth weighing is 1a vs. 1 b. If they balance the odd is is 1c and it is heavier. If they do not balance, then the odd coin is the heavier of 1a and 1b. Using this same methodology, the odd coin and its status may be determined no matter how each of the weighings turn out.
    1 point
  39. Also: http://projecteuler.net/problem=55
    1 point
  40. Code: #include <iostream> #define BUF_SIZE 100 using namespace std; void putInArray(int num, int* buf){ for(int i=0;i<BUF_SIZE;i++){ buf[i] = num % 10; num = num / 10; } } bool isPalindrom(int* buf){ int i=0, j=BUF_SIZE-1; while(buf[j]==0 && j>0){ j--; } while(i<j){ if(buf[i] != buf[j]){ return false; } i++; j--; } return true; } void applyIteration(int* buf){ int i=0, j=BUF_SIZE-1; while(buf[j]==0 && j>0){ j--; } while(i<=j){ int temp = buf[i] + buf[j]; buf[i++] = temp; buf[j--] = temp; } for(int i=0;i<BUF_SIZE-1;i++){ buf[i+1] += buf[i] / 10; buf[i] = buf[i] % 10; } } bool isLychrel(int* buf){ for(int i=1;i<50;i++){ applyIteration(buf); if(isPalindrom(buf)){ return false; } } return true; } int main() { int buf[BUF_SIZE]; for(int num=0;num<10000;num++){ putInArray(num,buf); if(isLychrel(buf)){ cout << num << " is Lychrel " << endl; } } }
    1 point
  41. Person 1 is left behind there would be no one to kill him
    1 point
  42. Depends on what is meant by "have." [1] If have means "own," then yes. I can give someone something that I do not own. e.g. if I stole it. To give something, one only needs the ability to determine who controls it. If I control it, I can pass its control to someone else. So ... [2] If have means "possess the control of" then no. As stated, the paradox arises from the different antecedents of "with sorrow." Sorrow is the consequence of giving, not a possession before the act. But the language permits that interpretation by its form. Cute.
    1 point
×
×
  • Create New...