Puzzles Question:
Download Questions PDF

What are the next three numbers in the given series?

1 1 2 1 2 2 3 1 2 2 3 2 3 3 4 1 2 2 3 2 3 3 4 2 3 3 ?

Answer:

The next three numbers in the series are 4, 3, 4.

The pattern is - the number of 1's in the binary expansion of the positive integers starting from 1.

Number Binary Equivalent # of 1's

1 1 1
2 10 1
3 11 2
4 100 1
5 101 2
6 110 2
7 111 3
8 1000 1
9 1001 2
10 1010 2
11 1011 3
12 1100 2
13 1101 3
14 1110 3
15 1111 4
16 10000 1
17 10001 2
18 10010 2
19 10011 3
20 10100 2
21 10101 3
22 10110 3
23 10111 4
24 11000 2
25 11001 3
26 11010 3
27 11011 4
28 11100 3
29 11101 4

Download Puzzles Interview Questions And Answers PDF

Previous QuestionNext Question
Substitute digits for the letters to make the following Division true

O U T
-------------
S T E M | D E M I S E

| D M O C
-------------
T U I S

S T E M
----------
Z Z Z E

Z U M M
--------
I S T

Note that the leftmost letter cant be zero in any word. Also, there must be a one-to-one mapping between digits and letters. e.g. if you substitute 3 for the letter M, no other letter can be 3 and all other M in the puzzle must be 3?
There where six apples in a basket and six girls in the room. Each girl took one apple, yet one apple remained in the basket how?