twiggecode / integer-sequences Goto Github PK
View Code? Open in Web Editor NEWA database of algorithms of notable integer sequences. Easy for beginners to contribute.
License: The Unlicense
A database of algorithms of notable integer sequences. Easy for beginners to contribute.
License: The Unlicense
programme should return nth number in the abundant number but this only print abundant number that comes before n.
Input:
24
expected output:
104
code output:
24
12 18 20 24
Improve the quality of code that already exists within this project by either modifying the algorithms to become faster, or improve the coding standards by adding in more comments, spaces and by modifying variable names.
This is a simple 'first issue' to deal with, but require creativity and careful thinking.
example for table
Sequence name | Added new \ Update existing | Language | Added new \ fixed issues |
---|---|---|---|
Prime Numbers | Update | C | new |
In Factorial.py the python solution provided is not efficient. A much more optimized solution is required maybe with recursion.
A much more efficient solution regarding Catalan numbers in python is needed. Previous doesn't print the entire series of numbers.
Good Day @Twiggecode, I have already added Central Binomial Coefficient code, Just mark that one in Progress.md file as "In Progress"
Add a README.md to each of the sub-directories explaining what each problem statement aims to accomplish. For example, Abundant Numbers are those positive integers whose sum of the divisors are greater than the integer itself. Throw in a few examples if you can.
The contributing guidelines in README.md need to be more specific regarding git commands for beginners.
Key Notes:
The python code for Catalan numbers is not the most optimized solution. I would suggest a dynamic programming solution that will be much more efficient.
Update the file TrackingProgress.md to match the updated repository.
For example, if you want to add a file into the project, include this on the tracking list, or if a particular file is not visible on the tracking list, add it on.
Do not list any of the sequences as closed, I will handle this. If an integer sequence is listed as open but there is already existing code for this sequence in the repository, change the sequence to 'In Progress' and add the language used to the tracking list.
Hi Twidge. I saw a video on using markdown in the PR and Issues section of a repo
and thought I would take a look at that. I have changes to the Tracking file in both
adding missing languages, and adding missing sections.
I would like to send all the additional language additions as one PR. After this, send
the added sections as three additions at a time. This would encompass 1 PR for the languages
and about 4-6 PR's for the adding of the sections.
Below are the additions of the individual languages to already established sections.
Below that, are the proposed section additions.
My current branch and TrackingProgress.md file have all the individual language additions
commited in, and a commented out list of sections that are missing in the html of the
Tracking file. I have not yet committed the missing sections. See bottom for a list of
these sections.
Please let me know what you think. I can split the PR's up however is best for you.
It does look like my markdown formatted properly, let me know if your seeing it on your
end, thanks so much.
<tr>
<td align=center><p> ⏳</p></td>
<td><a href="./Alternating Factorial">Alternating factorial</a></td>
- <td>C++, Java, Python, C</td>
+ <td>C++, Java, Python, C, matlab</td>
</tr>
<tr>
<td align=center><p> ✅</p></td>
<td>Blum integers</td>
- <td> </td>
+ <td>C++, Python</td>
</tr>
<tr>
<td align=center><p> ⏳</p></td>
<td><a href="./Catalan Numbers">Catalan number</a></td>
- <td>Python, C++, Java, C</td>
+ <td>Python, C++, Java, C, matlab</td>
</tr>
<tr>
<td align=center><p> ⏳</p></td>
<td><a href="./Divisor Function">Divisor function</a></td>
- <td>Python, C++, Mark Down, C</td>
+ <td>Python, C++, Markdown, C, JS</td>
</tr>
<tr>
<td align=center><p> ⏳</p></td>
<td><a href='./Farey Sequence Numerators'>Farey Sequence Numerators</a></td>
- <td>Python</td>
+ <td>Python, C++</td>
</tr>
<tr>
<td align=center><p> ✅</p></td>
- <td>Highly composite numbers</td>
+ <td>HighlyComposite</td>
- <td></td>
+ <td>C++, Python</td>
</tr>
<tr>
<td align=center><p> ✅</p></td>
- <td>Hyperperfect number</td>
+ <td>Hyperperfect Numbers</td>
- <td> </td>
+ <td>Python</td>
</tr>
<tr>
<td align=center><p> ⏳</p></td>
- <td><a href="./Lucky Number">Lucky numbers</td>
+ <td><a href="./Lucky Number">Lucky numbers</a></td>
<td>Python, C++</td>
</tr>
<tr>
<tr>
<td align=center><p> ✅</p></td>
<td>Markov numbers</td>
- <td></td>
+ <td>Python</td>
</tr>
<tr>
<tr>
<td align=center><p> ⏳</p></td>
<td><a href="./Partition Numbers">Partition Numbers</a></td>
- <td>Python</td>
+ <td>Python, Java</td>
</tr>
<tr>
<tr>
<td align=center><p> ✅</p></td>
<td>Radical of an integer</td>
- <td> </td>
+ <td>Python</td>
</tr>
<tr>
<td align=center><p> ✅</p></td>
<td>Sphenic numbers</td>
- <td> </td>
+ <td>Python</td>
</tr>
<tr>
<td align=center><p> ⏳</p></td>
Please see the README.md file for more information
Create code to generate the nth element of various notable integer sequences in a programming language of your choice.
Good project for beginners.
Readme.md file have some typos that need to be fixed.
Python program for Catalan numbers is missing math library.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. πππ
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google β€οΈ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.