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.

A344891 Divide the primes into subsets of lengths given by successive primes, then reverse the order of terms in each subset.

Original entry on oeis.org

3, 2, 11, 7, 5, 29, 23, 19, 17, 13, 59, 53, 47, 43, 41, 37, 31, 107, 103, 101, 97, 89, 83, 79, 73, 71, 67, 61, 179, 173, 167, 163, 157, 151, 149, 139, 137, 131, 127, 113, 109, 271, 269, 263, 257, 251, 241, 239, 233, 229, 227, 223, 211, 199, 197, 193, 191, 181
Offset: 1

Views

Author

Paolo Xausa, Jun 01 2021

Keywords

Comments

Irregular triangle read by rows in which row n lists the next p primes in decreasing order, where p is the n-th prime, with n >= 1.

Examples

			Written as an irregular triangle in which row lengths give A000040 the sequence begins:
    3,   2;
   11,   7,   5;
   29,  23,  19,  17,  13;
   59,  53,  47,  43,  41,  37,  31;
  107, 103, 101,  97,  89,  83,  79,  73,  71,  67,  61;
  179, 173, 167, 163, 157, 151, 149, 139, 137, 131, 127, 113, 109;
  ...
		

Crossrefs

Right border gives A180302.
Row lengths give A000040.
Row products give A119645.
Row sums give A034958.
Cf. A343809.

Programs

  • Mathematica
    Module[{nn=10,p},p=Total[Prime[Range[nn]]];Flatten[Reverse/@TakeList[ Prime[ Range[ p]],Prime[Range[nn]]]]] (* Harvey P. Dale, Sep 14 2022 *)