Click here to Skip to main content
15,885,164 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: Mental arithmetic Pin
englebart18-Aug-20 2:54
professionalenglebart18-Aug-20 2:54 
GeneralRe: Mental arithmetic Pin
Caslen17-Aug-20 20:32
Caslen17-Aug-20 20:32 
GeneralRe: Mental arithmetic Pin
aserrano17-Aug-20 20:34
aserrano17-Aug-20 20:34 
GeneralRe: Mental arithmetic Pin
Jörgen Andersson17-Aug-20 20:39
professionalJörgen Andersson17-Aug-20 20:39 
GeneralRe: Mental arithmetic Pin
Member 1220722217-Aug-20 21:05
Member 1220722217-Aug-20 21:05 
GeneralRe: Mental arithmetic Pin
Member 1220722219-Aug-20 1:32
Member 1220722219-Aug-20 1:32 
GeneralRe: Mental arithmetic Pin
Menuki17-Aug-20 22:04
Menuki17-Aug-20 22:04 
GeneralRe: Mental arithmetic Pin
Stuart Dootson17-Aug-20 22:12
professionalStuart Dootson17-Aug-20 22:12 
Noticed that 10^2 + 11^2 + 12^2 = 365.

Then 13^2 = 169, 14^2 = 196 - and those two summed are 365.

So dividing 2 lots of 365 by 365 gives 2 as the answer.

If you don't know your squares, use the identity (n+1)^2 = n^2 + n + (n+1)

10^2 = 100 (that's easy enough to remember!)
For the next, add 21 (10+11). Then add 23, then 25, then 27 for the other squares.

However - for the first three squares, we're adding 300 to 2*21 and 23 - 2*21=42, add 23 and you have 65, a total of 365.

The last two, we have 200 + (23+25+25+27) + 2*21+23. The last bit we know is 65. The middle bit is clearly 100, so the last two squares sum to 365 too.
Java, Basic, who cares - it's all a bunch of tree-hugging hippy cr*p

GeneralRe: Mental arithmetic Pin
Menuki17-Aug-20 22:34
Menuki17-Aug-20 22:34 
GeneralRe: Mental arithmetic Pin
Member 4317199 (Paddy)17-Aug-20 23:29
Member 4317199 (Paddy)17-Aug-20 23:29 
GeneralRe: Mental arithmetic Pin
Jörgen Andersson18-Aug-20 3:56
professionalJörgen Andersson18-Aug-20 3:56 
GeneralRe: Mental arithmetic Pin
Martin ISDN17-Aug-20 23:29
Martin ISDN17-Aug-20 23:29 
GeneralRe: Mental arithmetic Pin
Member 1157700818-Aug-20 2:06
Member 1157700818-Aug-20 2:06 
GeneralRe: Mental arithmetic Pin
Jörgen Andersson18-Aug-20 3:59
professionalJörgen Andersson18-Aug-20 3:59 
GeneralRe: Mental arithmetic Pin
Andrea Simonassi18-Aug-20 2:27
Andrea Simonassi18-Aug-20 2:27 
GeneralRe: Mental arithmetic Pin
Jörgen Andersson18-Aug-20 4:01
professionalJörgen Andersson18-Aug-20 4:01 
GeneralRe: Mental arithmetic Pin
arndibble18-Aug-20 2:34
arndibble18-Aug-20 2:34 
GeneralRe: Mental arithmetic Pin
John Godin18-Aug-20 2:57
John Godin18-Aug-20 2:57 
GeneralRe: Mental arithmetic Pin
avanishrayankula18-Aug-20 5:01
avanishrayankula18-Aug-20 5:01 
GeneralRe: Mental arithmetic Pin
Member 1146760818-Aug-20 6:04
Member 1146760818-Aug-20 6:04 
GeneralRe: Mental arithmetic Pin
jsrjsr18-Aug-20 16:26
professionaljsrjsr18-Aug-20 16:26 
GeneralRe: Mental arithmetic Pin
megaadam18-Aug-20 23:33
professionalmegaadam18-Aug-20 23:33 
GeneralRe: Mental arithmetic Pin
Member 1477127419-Aug-20 5:36
Member 1477127419-Aug-20 5:36 
GeneralRe: Mental arithmetic Pin
Stan Rydz19-Aug-20 8:04
Stan Rydz19-Aug-20 8:04 
GeneralRe: Mental arithmetic Pin
MrChug19-Aug-20 16:47
MrChug19-Aug-20 16:47 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.