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

A226827 Numbers of the form 3^j + 9^k, for j and k >= 0.

Original entry on oeis.org

2, 4, 10, 12, 18, 28, 36, 82, 84, 90, 108, 162, 244, 252, 324, 730, 732, 738, 756, 810, 972, 1458, 2188, 2196, 2268, 2916, 6562, 6564, 6570, 6588, 6642, 6804, 7290, 8748, 13122, 19684, 19692, 19764, 20412, 26244, 59050, 59052, 59058, 59076, 59130, 59292, 59778
Offset: 1

Views

Author

T. D. Noe, Jun 19 2013

Keywords

Comments

If every number 3^j + 9^k is considered, then there are duplicates of 10, 82, 90, 730, 738, 810, 6562, 6570, 6642, 7290, 59050, 59058, 59130, 59778, 65610,....

Crossrefs

Cf. A004050 (2^j + 3^k), A226806-A226832 (cases to 8^j + 9^k).
Cf. A226793 ((3^j + 9^k)/2).

Programs

  • Mathematica
    a = 3; b = 9; mx = 60000; Union[Flatten[Table[a^n + b^m, {m, 0, Log[b, mx]}, {n, 0, Log[a, mx - b^m]}]]]
Showing 1-1 of 1 results.