Weekend Challenge Sharpened: Missing Positions in Champernowne's Constant
08-10-2015, 02:54 AM
Post: #15
 nlj Junior Member Posts: 32 Joined: Apr 2015
RE: Weekend Challenge Sharpened: Missing Positions in Champernowne's Constant
The following is weird (and wonderful):

Code:
ch  min_c   max_c    i(max_c) 0   0       0        (9) 1   1       90       189 2   91      1890     2889 3   1891    28890    38889 4   28891   388890   488889 5   388891  4888890  5888889 ... 13  118888888888891  1288888888888890  1388888888888889 ...

Where I break Champernowne's Number into "levels", where ch is the characteristic of the logarithm of the integers at a given level (i.e. integers 1 to 9 at the level with ch = 0; 10 to 99 for ch = 1 etc.) and min_c is the number of the smallest "missing position" at that level, max_c is the largest "missing position" at that level and i(max_c) is the index into Champernowne's Number of max_c.

I believe this observation will permit me to eliminate iteration from my solution. But I'm still working on that bit...
 « Next Oldest | Next Newest »

 Messages In This Thread Weekend Challenge Sharpened: Missing Positions in Champernowne's Constant - Gerald H - 07-30-2015, 04:53 PM RE: Weekend Challenge: Missing Positions in Gods' Triangle - Thomas Klemm - 07-30-2015, 06:52 PM RE: Weekend Challenge: Missing Positions in Gods' Triangle - Paul Dale - 07-30-2015, 10:18 PM RE: Weekend Challenge: Missing Positions in Gods' Triangle - Gerald H - 07-31-2015, 05:23 AM RE: Weekend Challenge: Missing Positions in Gods' Triangle - nlj - 08-04-2015, 05:04 AM RE: Weekend Challenge: Missing Positions in Gods' Triangle - Gerald H - 08-04-2015, 07:23 AM RE: Weekend Challenge: Missing Positions in Gods' Triangle - Gerald H - 08-07-2015, 05:08 PM RE: Weekend Challenge Sharpened: Missing Positions in Gods' Triangle - ttw - 08-08-2015, 03:53 AM RE: Weekend Challenge Sharpened: Missing Positions in Gods' Triangle - Gerald H - 08-08-2015, 05:08 AM RE: Weekend Challenge Sharpened: Missing Positions in Champernowne's Constant - nlj - 08-08-2015, 02:26 PM RE: Weekend Challenge Sharpened: Missing Positions in Champernowne's Constant - Gerald H - 08-08-2015, 03:25 PM RE: Weekend Challenge Sharpened: Missing Positions in Champernowne's Constant - Gerald H - 08-08-2015, 04:27 PM RE: Weekend Challenge Sharpened: Missing Positions in Champernowne's Constant - nlj - 08-08-2015, 06:01 PM RE: Weekend Challenge Sharpened: Missing Positions in Champernowne's Constant - nlj - 08-09-2015, 10:12 PM RE: Weekend Challenge Sharpened: Missing Positions in Champernowne's Constant - nlj - 08-10-2015 02:54 AM

User(s) browsing this thread: 1 Guest(s)