Page 1 of 2
Clarification on Problem 167
Posted: Fri Apr 18, 2008 7:44 pm
by petrw1
Find [sum]U(2,2n+1)1e11 for 2 [le] n [le]10.
What does 1e11 mean?
Do I generate each of these 9 sequences up to e^11 and add up all the terms of all the sequences?
e^11 is about 59, 874. Seems to be an odd upper limit?
Re: Clarification on Problem 167
Posted: Fri Apr 18, 2008 7:48 pm
by stijn263
1e11 = 1011 = 100,000,000,000
In most programming languages either 10^11 or 10**11
Re: Clarification on Problem 167
Posted: Fri Apr 18, 2008 7:49 pm
by JohnMorris
1e11 means 1 times 10 to the 11'th power, which is 100,000,000,000
Re: Clarification on Problem 167
Posted: Fri Apr 18, 2008 7:51 pm
by hk
henk263 wrote:1e11 = 1011 = 100,000,000,000
In most programming languages either 10^11 or 10**11
Or simply 1e11
Re: Clarification on Problem 167
Posted: Fri Apr 18, 2008 7:56 pm
by stijn263
In Maple, 1e11 is a double, whereas 10^11 is an integer (and thus has infinite/arbitrary precision)
That's also how I learned it in school, 1e11 means you only have 1 significant digit.
Re: Clarification on Problem 167
Posted: Fri Apr 18, 2008 8:06 pm
by hk
In Delphi neither 10^11 nor 10**11 exist.
One can however assign the constant 1e11 (having extended precision) to an int64 variable by truncating it.
Re: Clarification on Problem 167
Posted: Fri Apr 18, 2008 8:07 pm
by daniel.is.fischer
henk263 wrote:1e11 = 1011 = 100,000,000,000
In most programming languages either 10^11 or 10**11
Well, usually the 'e' form (aka scientific notation) is used in source code to denote values or by the language to display values, while (^) and (**) are functions (in C and related languages it's pow(x,y), a^b is bitwise XOR).
In Haskell, you have three exponentiation operators:
Prelude> :t (^)
(^) :: (Integral b, Num a) => a -> b -> a
Prelude> :t (^^)
(^^) :: (Integral b, Fractional a) => a -> b -> a
Prelude> :t (**)
(**) :: (Floating a) => a -> a -> a
Re: Clarification on Problem 167
Posted: Fri Apr 18, 2008 8:10 pm
by hk
By the way: in the problem statement 1e11 is used because otherwise we would have an index with an exponent in it.
I'm not sure this would lead to readable page rendering but I could try to change it to 1011 and revert it back if it does not render well.
Re: Clarification on Problem 167
Posted: Fri Apr 18, 2008 8:11 pm
by hk
I changed it, what do we think?
Re: Clarification on Problem 167
Posted: Fri Apr 18, 2008 8:19 pm
by daniel.is.fischer
Looks nice enough. Due to the smaller font for sub- and superscripts, it should be unambiguously parseable (hopefully).
Re: Clarification on Problem 167
Posted: Fri Apr 18, 2008 9:19 pm
by Georg
I think it could look better using k as index and let k = 10
11:
...)k for 2 [le] n [le]10, k = 1011
Re: Clarification on Problem 167
Posted: Fri Apr 18, 2008 10:15 pm
by hk
Changed that.
Re: Clarification on Problem 167
Posted: Sat Apr 19, 2008 12:26 am
by daniel.is.fischer
Restored now

Re: Clarification on Problem 167
Posted: Mon Apr 21, 2008 3:55 pm
by petrw1
Thanks for the speedy replies.
I should have realized that "e" in this context means exponent not the Log "e".
Problem 167
Posted: Wed Jul 09, 2008 2:02 pm
by LarryC
Hi!
I'm on Problem 167 as the title suggests and I think I have found what I need to do. Can anyone confirm that for n = 2, the correct value is ??????????? That would be a great checking aid!
Thanks,
Lster
Re: Problem 167
Posted: Wed Jul 09, 2008 2:14 pm
by Tommy137
Yes, it's correct.
Re: Problem 167
Posted: Wed Jul 09, 2008 2:40 pm
by LarryC
Thank you!
This one is one that has been giving me long-term problems!
Re: Problem 167
Posted: Wed Jul 09, 2008 3:07 pm
by stijn263
Yup it's a tough one, but lots of fun to solve

Re: Problem 167
Posted: Wed Jul 09, 2008 3:15 pm
by LarryC
Yup it's a tough one, but lots of fun to solve

Well, I'm pretty sure I have the answer for n=2 to 9 correct. But now need to sum for n=10 - which is causing quite some hassle!
Re: Problem 167
Posted: Wed Jul 09, 2008 3:49 pm
by LarryC
One last thing, for n=3, is the result
????????? I have a worry that I may just be lucky on the first value, and n=3 seems a little different because...
