you have an unlimited supply of $3 and $7 poker chips. What
is the largest integer value that you cannot make by
combining different numbers of chips?

Answers were Sorted based on User's Feedback



you have an unlimited supply of $3 and $7 poker chips. What is the largest integer value that you c..

Answer / siberian

If you can make N with 3 and 7, then you can make all N+12,
N+13, N+14, ..., etc. The numbers that can't be made with 3
and 7 are 1, 2, 4, 5, 8, 11. Thus the max number that can't
be created is 11.

Is This Answer Correct ?    4 Yes 0 No

you have an unlimited supply of $3 and $7 poker chips. What is the largest integer value that you c..

Answer / orenise

Assume that the max integer value is (2^31 - 1)=2,147,483,647
then the answer is 2,147,483,646 since it is impossible to
have an even number created just from 3 and 7.

Is This Answer Correct ?    2 Yes 7 No

Post New Answer

More Programming Languages AllOther Interview Questions

I am looking for selenium RC online Training in chennai. can any one tell me the best institute

0 Answers  


how to generate dsnless connectivity in j2ee

0 Answers  


what diffrence between procedure and function?

3 Answers  


what are stubs related to foxpro?

0 Answers  


How does the TCP handle the issue of multiplexing?

0 Answers  






DIFFERENCE BETWEEN BINDING LANG AND BIND DIR WHEN USING IN SERVICE PGM

0 Answers   CTS,


I am work in it aompenei

0 Answers   Access Healthcare,


Is anyone has done the ASP.NET MVC4 workshop course(2 days) from Peers Technologies. Let me know. I need to talk before joining ASP.NET MVC4 training at peers, Hyderabad.

0 Answers  


WS-NUM PIC S9(05)V(02) SIGN TRAILING SEPARATE MOVE '0050000+' TO WS-NUM The value stored is 00500,00+ MOVE '0050000-' TO WS-NUM Then what is the value will be stored in WS-NUM? Am getting '-00500,00'.....>>> What should I declare to WS-NUM so that I can get correct values for both + & - signs.

0 Answers  


what type of exceptions & problems are faced in production time at java technology?

0 Answers   CTS,


Give examples of macro quoting function?

0 Answers   GE,


In OB52 , How to define two open posting period, Like only 5 and 8 posting should be open.. should not open 6 and 7..period..

0 Answers  


Categories