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.

A249435 a(1) = 0, after which one less than prime powers p^m with exponent m >= 2.

Original entry on oeis.org

0, 3, 7, 8, 15, 24, 26, 31, 48, 63, 80, 120, 124, 127, 168, 242, 255, 288, 342, 360, 511, 528, 624, 728, 840, 960, 1023, 1330, 1368, 1680, 1848, 2047, 2186, 2196, 2208, 2400, 2808, 3124, 3480, 3720, 4095, 4488, 4912, 5040, 5328, 6240, 6560, 6858, 6888, 7920, 8191, 9408, 10200, 10608, 11448
Offset: 1

Views

Author

Antti Karttunen, Nov 02 2014

Keywords

Crossrefs

One less than A025475.
Subsequence of A181062 and also a subsequence of A249433 (after the initial zero).
Union of sequences A000225, A024023, A024049, A024075, A024127, etc. without their term a(1).
Apart from the first term, subsequence of A045542.

Programs

  • PARI
    list(lim)=my(v=List([0])); lim=lim\1+1; for(m=2,logint(lim,2), forprime(p=2,sqrtnint(lim,m), listput(v, p^m-1))); Set(v) \\ Charles R Greathouse IV, Aug 26 2015
  • Scheme
    (define (A249435 n) (- (A025475 n) 1))
    

Formula

a(n) = A025475(n) - 1.