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-3 of 3 results.

A038482 Sums of 3 distinct powers of 7.

Original entry on oeis.org

57, 351, 393, 399, 2409, 2451, 2457, 2745, 2751, 2793, 16815, 16857, 16863, 17151, 17157, 17199, 19209, 19215, 19257, 19551, 117657, 117699, 117705, 117993, 117999, 118041, 120051, 120057, 120099, 120393, 134457, 134463, 134505, 134799, 136857, 823551, 823593
Offset: 1

Views

Author

Keywords

Crossrefs

Base-7 interpretation of A038445.

Programs

  • Mathematica
    Union[Total/@Subsets[7^Range[0,10],{3}]] (* Harvey P. Dale, May 06 2014 *)
  • Python
    from math import isqrt, comb
    from sympy import integer_nthroot
    def A038482(n): return 7**((r:=n-1-comb((m:=integer_nthroot(6*n,3)[0])+(t:=(n>comb(m+2,3)))+1,3))-comb((k:=isqrt(b:=r+1<<1))+(b>k*(k+1)),2))+7**((a:=isqrt(s:=n-comb(m-(t^1)+2,3)<<1))+((s<<2)>(a<<2)*(a+1)+1))+7**(m+t+1) # Chai Wah Wu, Apr 05 2025

Extensions

Offset corrected by Amiram Eldar, Jul 14 2022

A038483 Sums of 4 distinct powers of 7.

Original entry on oeis.org

400, 2458, 2752, 2794, 2800, 16864, 17158, 17200, 17206, 19216, 19258, 19264, 19552, 19558, 19600, 117706, 118000, 118042, 118048, 120058, 120100, 120106, 120394, 120400, 120442, 134464, 134506, 134512, 134800, 134806, 134848, 136858, 136864, 136906, 137200, 823600
Offset: 1

Views

Author

Keywords

Crossrefs

Base-7 interpretation of A038446.

Programs

  • Mathematica
    Sort[Plus @@@ Subsets[7^Range[0, 7], {4}]] (* Amiram Eldar, Jul 14 2022 *)

Extensions

Offset corrected by Amiram Eldar, Jul 14 2022

A139369 Array read by antidiagonals, n-th sum of 2 distinct powers of k.

Original entry on oeis.org

3, 4, 5, 5, 10, 6, 6, 17, 12, 9, 7, 26, 20, 28, 10, 8, 37, 30, 65, 30, 12, 9, 50, 42, 126, 68, 36, 17, 10, 65, 56, 217, 130, 80, 82, 18, 11, 82, 72, 344, 222, 150, 257, 84, 20, 12, 101, 90, 513, 350, 252, 626, 260, 90, 24, 13, 122, 110, 730, 520, 392, 1297, 630, 272, 108
Offset: 1

Views

Author

Jonathan Vos Post, Jun 07 2008

Keywords

Comments

n=2 column is A002522 n^2 + 1.
n=3 column is A002378 n*(n+1) Oblong (or pronic, promic, or heteromecic numbers).

Examples

			Array begins:
================================================================================
k....|.n=1.|.n=2.|.n=3.|..n=4.|..n=5.|..n=6.|...n=7.|...n=8.|..n=9.|.n=10|.OEIS.
================================================================================
k=2..|..3..|...5.|..6..|....9.|...10.|...12.|....17.|...18..|...20.|..24.|A018900
k=3..|..4..|..10.|.12..|...28.|...30.|...36.|....82.|...84..|...90.|..108|A038464
k=4..|..5..|..17.|.20..|...65.|...68.|...80.|...257.|..260..|..272.|..320|A038470
k=5..|..6..|..26.|.30..|..126.|..130.|..150.|...626.|..630..|..650.|..750|A038474
k=6..|..7..|..37.|.42..|..217.|..222.|..252.|..1297.|..1302.|.1332.|.1512|A038478
k=7..|..8..|..50.|.56..|..344.|..350.|..392.|..2402.|..2408.|.2450.|.2744|A038481
k=8..|..9..|..65.|.72..|..513.|..520.|..576.|..4097.|..4104.|.4160.|.4608|A038484
k=9..|.10..|..82.|.90..|..730.|..738.|..810.|..6562.|..6570.|.6642.|.7290|A038487
k=10.|.11..|.101.|.110.|.1001.|.1010.|.1100.|.10001.|.10010.|10100.|11000|A038444
k=11.|.12..|.122.|.132.|.1332.|.1342.|.1452.|.14642.|.14652.|14762.|15972|A038490
k=12.|.13..|.145.|.156.|.1729.|.1740.|.1872.|.20737.|.20748.|20880.|22464|A038492
================================================================================
		

Crossrefs

Showing 1-3 of 3 results.