Zulip Chat Archive

Stream: new members

Topic: How can I handle the partial sum of geometric series


Heliopolis (Jan 17 2025 at 12:33):

I am solving this problem:

theorem partial_sum_of_geometric_series (n : ) (h :  i  Finset.range n, (1 / 4) * (1 / 2 : ) ^ i = 255 / 512) :
    n = 8 := by sorry

I don't know how to solve it. I searched for useful theorems but found nothing. Could someone help me? Just telling me the ideas is OK. Thanks a lot!

Ruben Van de Velde (Jan 17 2025 at 12:48):

First step is to take out the constant (docs#Finset.mul_sum) and then you can use the closed form (docs#geom_sum_eq). Then it's arithmetic

Alex Brodbelt (Jan 17 2025 at 13:04):

Following Ruben's advice and injectivity

Heliopolis (Jan 17 2025 at 13:37):

@Alex Brodbelt @Ruben Van de Velde Great solution! Thanks!!!

Kevin Buzzard (Jan 17 2025 at 16:59):

@Alex Brodbelt weird zulip tip: code in spoilers needs to be enclosed by four backticks not three! (Because the spoiler already stole the three backtick option)


Last updated: May 02 2025 at 03:31 UTC