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.

A165848 Totally multiplicative sequence with a(p) = 27.

Original entry on oeis.org

1, 27, 27, 729, 27, 729, 27, 19683, 729, 729, 27, 19683, 27, 729, 729, 531441, 27, 19683, 27, 19683, 729, 729, 27, 531441, 729, 729, 19683, 19683, 27, 19683, 27, 14348907, 729, 729, 729, 531441, 27, 729, 729, 531441, 27, 19683, 27, 19683, 19683
Offset: 1

Views

Author

Jaroslav Krizek, Sep 28 2009

Keywords

Crossrefs

Programs

  • Magma
    [n eq 1 select 1 else 27^(&+[p[2]: p in Factorization(n)]): n in [1..100]]; // Vincenzo Librandi, Apr 14 2016
  • Mathematica
    27^PrimeOmega[Range[50]] (* Harvey P. Dale, Apr 20 2014 *)
  • PARI
    a(n) = 27^bigomega(n); \\ Altug Alkan, Apr 13 2016
    

Formula

a(n) = A009971(A001222(n)) = 27^bigomega(n) = 27^A001222(n).