Re:Why 37signals Doesn't Hire Programmers Based on Brainteasers
by dxbydt on Friday January 06, 2012 @11:48AM
(#3433966)
> Closest I can come is square minus the other two which gives:
Yep, you got it! That is the solution. There is a method to the madness. Given series S squares, F fibonaccis, P primes, with an op of minus, the convolution series
C = S op F op P = S op P op F
gives you 1 5 9 15 20 28... ( ps the third term is 9 and not 7 as stated in the original problem. In my defense, it was 7pm and I was drowsy when I posted that, so I must have looked at my watch, seen the 7 on the dial and then wrote 7 instead of 9. Apologies )
Closest I can come is square minus the other two which gives:
1 5 9 15 20 28...