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.

A045588 Numbers k that divide 9^k + 3^k.

Original entry on oeis.org

1, 2, 3, 6, 9, 10, 18, 21, 27, 30, 50, 54, 63, 81, 90, 147, 150, 162, 171, 189, 243, 250, 270, 333, 438, 441, 450, 486, 513, 567, 729, 750, 810, 903, 999, 1029, 1197, 1250, 1314, 1323, 1350, 1458, 1539, 1701, 2187, 2190, 2250, 2331, 2430, 2709, 2997, 3087
Offset: 1

Views

Author

Keywords

Crossrefs

Cf. A074610.

Programs

  • Mathematica
    Select[Range[3100],Divisible[9^#+3^#,#]&] (* Harvey P. Dale, Aug 13 2015 *)
    Select[Range[300], Divisible[PowerMod[9, #, #] + PowerMod[3, #, #], #] &] (* Amiram Eldar, Oct 23 2021 *)