Guest Posted February 26, 2010 Report Share Posted February 26, 2010 (edited) The cube of the next even integer is written beside the square of every odd integer in ascending order, without commas or spaces, resulting in this infinite pattern: 1896425216495128110001211728........ Determine the 2010th digit in the above pattern. Edited February 26, 2010 by K Sengupta Quote Link to comment Share on other sites More sharing options...
0 Guest Posted February 26, 2010 Report Share Posted February 26, 2010 Answer is "1" Excel makes this easy-- first column is 1,2,3, etc. second column is ^2, ^3, ^2, etc. third is concatenate(left,down), concatenate(left,down), etc fourth is (topmost cell only) =RIGHT(LEFT(C1,2010),1) Quote Link to comment Share on other sites More sharing options...
0 Guest Posted April 21, 2010 Report Share Posted April 21, 2010 I concur - slightly different method: 1 Excel First 3 rows - fill down and find Cell-1<2010<Cell-2 in column C - determine digit 2010 1 =IF(ISODD(A1),A1^2,IF(ISEVEN(A1),A1^3,"ERROR")) 1 =A1+1 =IF(ISODD(A2),A2^2,IF(ISEVEN(A2),A2^3,"ERROR")) =LEN(B2)+C1 =A2+1 =IF(ISODD(A3),A3^2,IF(ISEVEN(A3),A3^3,"ERROR")) =LEN(B3)+C2 It would be interesting to see a formulaic solution rather than our iterative solutions Quote Link to comment Share on other sites More sharing options...
Question
Guest
The cube of the next even integer is written beside the square of every odd integer in ascending order, without commas or spaces, resulting in this infinite pattern:
1896425216495128110001211728........
Determine the 2010th digit in the above pattern.
Edited by K SenguptaLink to comment
Share on other sites
2 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.