cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A003344 Numbers that are the sum of 10 positive 4th powers.

Original entry on oeis.org

10, 25, 40, 55, 70, 85, 90, 100, 105, 115, 120, 130, 135, 145, 150, 160, 165, 170, 180, 185, 195, 200, 210, 215, 225, 230, 245, 250, 260, 265, 275, 280, 290, 295, 310, 325, 330, 340, 345, 355, 360, 370, 375, 385, 390, 400, 405, 410, 420, 425, 435, 440, 450, 455, 465
Offset: 1

Views

Author

Keywords

Examples

			From _David A. Corneth_, Aug 03 2020: (Start)
5176 is in the sequence as 5176 = 2^4 + 2^4 + 3^4 + 3^4 + 3^4 + 5^4 + 5^4 + 5^4 + 5^4 + 7^4.
6901 is in the sequence as 6901 = 1^4 + 4^4 + 4^4 + 5^4 + 5^4 + 5^4 + 5^4 + 6^4 + 6^4 + 6^4.
8502 is in the sequence as 8502 = 1^4 + 3^4 + 4^4 + 5^4 + 5^4 + 5^4 + 6^4 + 6^4 + 6^4 + 7^4. (End)
		

Crossrefs

Programs

  • Python
    from itertools import count, takewhile, combinations_with_replacement as mc
    def aupto(limit):
        pows4 = list(takewhile(lambda x: x <= limit, (i**4 for i in count(1))))
        sum10 = set(sum(c) for c in mc(pows4, 10) if sum(c) <= limit)
        return sorted(sum10)
    print(aupto(465)) # Michael S. Branicky, Oct 25 2021