There were N stations on a railroad. After adding X stations
46 additional tickets have to be printed.

Find N and X.

Answers were Sorted based on User's Feedback



There were N stations on a railroad. After adding X stations 46 additional tickets have to be print..

Answer / guest

Let before adding X stations, total number of tickets

t = N(N-1)

After adding X stations total number of tickets are

t + 46 = (N+X)(N+X-1)

Subtracting 1st from 2nd

46 = (N+X)(N+X-1) - N(N-1)

46 = N2 + NX - N + NX + X2 - X - N2 + N

46 = 2NX + X2 - X

46 = (2N - 1)X + X2

X2 + (2N - 1)X - 46 = 0

Now there are only two possible factors of 46. They are
(46,1) and (23,2)

Case I: (46,1)

2N - 1 = 45

2N = 46

N = 23

And X = 1

Case II: (23,2)

2N - 1 = 21

2N = 22

N = 11

And X = 2

Hence, there are 2 possible answers.

Is This Answer Correct ?    33 Yes 4 No

There were N stations on a railroad. After adding X stations 46 additional tickets have to be print..

Answer / karthikeya subburaj

N=46
X=1

S0 extra 46 tickets have to be printed.

Is This Answer Correct ?    1 Yes 13 No

Post New Answer

More Puzzles Interview Questions

Last Saturday Milan went for the late night show and came late. In the morning family members asked him which movie did he see. He gave different answers to everyone. ? He told to his father that he had gone to see MONEY. ? According to his mom, he saw either JOHNY or BABLU. ? His elder brother came to know that he saw BHABI. ? To his sister, he told ROBOT. ? And his grandpa heard that he saw BUNNY. Thus, Milan gave six movie names, all five letter words. But he saw some other movie with five letter word. Moreover, each of the six movie names mentioned above has exactly two letters common with the movie he saw. (with the same positions) Can you tell which movie did Milan see?

3 Answers  


Its a 4letter word.Boys have,girls dont have.poor have,rich dont have.if u get u can fly,animals drinks,i cant… Find out the word

8 Answers  


Montu, Bantu, Chantu and Pintu have pets. Montu says, "If Pintu and I each have a dog, then exactly one of Bantu and Chantu has a dog." Bantu says, "If Chantu and I each have a cat, then exactly one of Montu and Pintu has a dog." Chantu says, "If Montu and I each have a dog, then exactly one of Bantu and Pintu has a cat." Pintu says, "If Bantu and I each have a cat, then exactly one of Bantu and I has a dog." Only one of the four is telling the truth. Who is telling the truth?

2 Answers  


with heavy raining ,At Midnight 12, aap car lekar ja rahe ho aur bus stand par 3 log (80 years woman , ur best friend , ur lover ) khade he....lekin aap kisi ek ko hi apni car me bitha sakte ho..to aap kya karoge aur kyu ????

5 Answers   Parle, Parle G,


Three friends went to hotel for breakfast . After having breakfast total bill was Rs 25 . Each one contributed Rs 10. So total was Rs 30 . 30 is paid. waiter gave Rs 5 back to them . Three friend gave Rs 2 tips to waiter . From remaining Rs 3 each one took one rupee. As each one contributed ten . And each friend recieved one rupee back. Means each one had breakfast in nine rupee. So three friend had breakfast in 9+9+9=27. And Rs 2 is given to tips to waiter. So total money for breakfast for three friend was 27+2=29. Where is remaining one rupee?

5 Answers   IIT,






In a college, the science department has three disciplines. In total, 280 students study chemistry, 254 students study physics and 280 students study biology. 97 students study both chemistry and physics, 138 students study both physics and biology, 152 students study both chemistry and biology. 73 students study all three disciplines. Can you determine how many students there are in the science department?

7 Answers   Accenture, HSPA, Satyam,


Given an N × N array of positive and negative integers, find the sub-rectangle with the largest sum. The sum of a rectangle is the sum of all the elements in that rectangle. In this problem the sub-rectangle with the largest sum is referred to as the maximal sub-rectangle. A sub-rectangle is any contiguous sub-array of size 1 × 1 or greater located within the whole array. Input Format: First line contains the size of matrix. Followed by n lines and each line contain n integers separated by space. Output format: Single integer which represents maximum sum of rectangle. Sample Input: 4 0 -2 -7 0 9 2 -6 2 -4 1 -4 1 -1 8 0 -2 Sample Output: 15

1 Answers   Infosys, TCS,


Jim lies a lot. He tells the truth on only one day in a week. One day he said: "I lie on Mondays and Tuesdays." The next day he said: "Today is either Sunday, Saturday or Thursday." The next day he said: "I lie on Fridays and Wednesdays." On which day of the week does Jim tell the truth?

6 Answers   NCR, TCS,


A cube painted on all six sides by red color is divided into 125 equal cubes find i) number of cubes having a)3 faces colored b)2 faces colored c) 1 face colored d)0 faces colored ii)Find probability of picking a cube having red face

6 Answers   Infosys,


In a kingdom far far away, the King decided that the time has come to find a husband for his princess daughter. The King wanted to find a worthy lad for his princess, so he promised to give his daughter away to the first young (or old) man who would solve the puzzle that has stumped the best of his court mathematicians for years. The puzzle is very simple: in a palace, there are 25 rooms arranged in a square--5 rows of rooms with 5 rooms in each row. In every room there is a light switch which not only switches on/off the light in that room, but also switches the lights in the adjacent rooms--the room to the right, to the left, the room above and the room below. Initially, all of the lights are turned off. The goal is to turn the lights on in every room of the palace.

22 Answers   Adobe,


In this four digit number, the second digit is half the third digit which is three less than the first which is six more than the fourth. If no digit is repeated, what is the number

14 Answers  


Kate, Demi, Madona, Sharon, Britney and Nicole decided to lunch together in a restaurant. The waiter led them to a round table with six chairs. How many different ways can they seat?

2 Answers  


Categories