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.

A072206 Third terms of triple Peano sequence A071988.

Original entry on oeis.org

2, 4, 15, 42, 176, 299, 697, 988, 1794, 3683, 4526, 7807, 10701, 12384, 16262, 23479, 32568, 36051, 47972, 57226, 62269, 79158, 91964, 113653, 147537, 166751, 176954, 198592, 210043, 234249, 333502, 366276, 419357, 438128, 540423, 562626, 632867
Offset: 1

Views

Author

Robert G. Wilson v, Jul 03 2002

Keywords

Crossrefs

Programs

  • Maple
    g:= n -> (n^3+5*n+6)/6:
    seq(g(ithprime(i)-1),i=1..100); # Robert Israel, Jun 20 2019
  • Mathematica
    seq[n_Integer?Positive] := Module[{fn01 = 1, fn10 = 1, fnout = 1}, Do[{fn10, fn01, fnout} = {fn10 + 1, fn01 + fn10, fn01 + fnout}, {n - 1}]; {fn10, fn01, fnout}]; Ar = Flatten[ Table[ seq[ Prime[n]], {n, 1, 50}]]; a = {}; Do[a = Append[a, Ar[[n]]], {n, 3, 150, 3}]; a

Formula

Numbers, except 2, satisfy a(n) = 1 + k/3 * (4k^2+5), with k in A005097. - Ralf Stephan, Aug 21 2004
a(n) = (n^3+5*n+6)/6, for n+1 prime, so a(n) = A000125(A006093(n)) - Bert Seghers, Jan 01 2012, corrected by Robert Israel, Jun 20 2019