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.

Showing 1-2 of 2 results.

A038478 Sums of 2 distinct powers of 6.

Original entry on oeis.org

7, 37, 42, 217, 222, 252, 1297, 1302, 1332, 1512, 7777, 7782, 7812, 7992, 9072, 46657, 46662, 46692, 46872, 47952, 54432, 279937, 279942, 279972, 280152, 281232, 287712, 326592, 1679617, 1679622, 1679652, 1679832, 1680912, 1687392, 1726272, 1959552, 10077697, 10077702
Offset: 1

Views

Author

Keywords

Crossrefs

Base-6 interpretation of A038444.

Programs

  • Mathematica
    Total/@Subsets[6^Range[0,10],{2}]//Union (* Harvey P. Dale, Aug 11 2018 *)
  • Python
    from math import isqrt
    def A038478(n): return 6**(m:=isqrt(n<<3)+1>>1)+6**(n-1-(m*(m-1)>>1)) # Chai Wah Wu, Apr 04 2025

Extensions

Offset corrected by Amiram Eldar, Jul 14 2022

A038480 Sums of 4 distinct powers of 6.

Original entry on oeis.org

259, 1339, 1519, 1549, 1554, 7819, 7999, 8029, 8034, 9079, 9109, 9114, 9289, 9294, 9324, 46699, 46879, 46909, 46914, 47959, 47989, 47994, 48169, 48174, 48204, 54439, 54469, 54474, 54649, 54654, 54684, 55729, 55734, 55764, 55944, 279979, 280159, 280189, 280194
Offset: 1

Views

Author

Keywords

Crossrefs

Base-6 interpretation of A038446.

Programs

  • Mathematica
    Union[Total/@Subsets[6^Range[0,10],{4}]] (* Harvey P. Dale, Nov 05 2011 *)

Extensions

Offset corrected by Amiram Eldar, Jul 14 2022
Showing 1-2 of 2 results.