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.

A165852 Totally multiplicative sequence with a(p) = 31.

Original entry on oeis.org

1, 31, 31, 961, 31, 961, 31, 29791, 961, 961, 31, 29791, 31, 961, 961, 923521, 31, 29791, 31, 29791, 961, 961, 31, 923521, 961, 961, 29791, 29791, 31, 29791, 31, 28629151, 961, 961, 961, 923521, 31, 961, 961, 923521, 31, 29791, 31, 29791, 29791
Offset: 1

Views

Author

Jaroslav Krizek, Sep 28 2009

Keywords

Crossrefs

Programs

  • Magma
    [n eq 1 select 1 else 31^(&+[p[2]: p in Factorization(n)]): n in [1..100]]; // Vincenzo Librandi, Apr 14 2016
  • Mathematica
    31^PrimeOmega[Range[100]] (* G. C. Greubel, Apr 13 2016 *)
  • PARI
    a(n) = 31^bigomega(n); \\ Michel Marcus, Apr 14 2016
    

Formula

a(n) = A009975(A001222(n)) = 31^bigomega(n) = 31^A001222(n).