Skip to content

Example for summing the first n positive numbers#8

Open
wilcoxjay wants to merge 1 commit intoegraphs-good:mainfrom
wilcoxjay:jrw/sum-n-ints
Open

Example for summing the first n positive numbers#8
wilcoxjay wants to merge 1 commit intoegraphs-good:mainfrom
wilcoxjay:jrw/sum-n-ints

Conversation

@wilcoxjay
Copy link
Contributor

This PR adds bril code for summing the first n positive numbers in a few
different ways: with a straightforward loop, and with two different closed
forms.

One day hopefully we can optimize one into the other!

@oflatt
Copy link
Member

oflatt commented Sep 3, 2023

We can merge this if you just put it in a folder called failing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants