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.

Showing 1-4 of 4 results.

A129680 Distance sequence of A129676: A129676(n)-n.

Original entry on oeis.org

2, -1, 2, 0, 1, -4, 2, -1, 1, 2, 0, -4, 2, -1, 2, 0, 1, 2, 0, -6, 2, -1, 1, -2, 2, -1, 2, 0, 1, -4, 2, -1, 1, 2, 0, -4, 2, -1, 1, -2, 2, -1, 2, 0, 1, 2, 0, -6, 2, -1, 2, 0, 1, -4, 2, -1, 1, 2, 0, -4, 2, -1, 2, 0, 1, 2, 0, -6, 2, -1, 1, -2, 2, -1, 2, 0, 1, 2, 0, -6, 2, -1, 2, 0, 1, -4, 2, -1, 1, 2, 0, -4, 2, -1, 1, -2, 2, -1, 2
Offset: 1

Views

Author

Ferenc Adorjan (fadorjan(AT)freemail.hu or ferencadorjan(AT)gmail.com), May 01 2007

Keywords

Comments

The numbers in this sequence seem to be in range [-6,2], but they are never -3 nor -5 (tested up to 10^4). The relative density of the values {-6,-4,-2,-1,0,1,2} asymptotically is {1,2,1,4,4,4,8}.

Crossrefs

Distance of A129676, Cf. A129678, A129679, A129681 and A000069.

A129675 Inverse permutation to A129674.

Original entry on oeis.org

3, 2, 1, 5, 7, 4, 6, 9, 15, 8, 11, 10, 12, 14, 13, 17, 21, 16, 19, 18, 20, 23, 27, 22, 24, 26, 25, 29, 31, 28, 30, 33, 37, 32, 35, 34, 36, 39, 43, 38, 40, 42, 41, 45, 51, 44, 47, 46, 48, 50, 49, 53, 55, 52, 54, 57, 63, 56, 59, 58, 60, 62, 61, 65, 69, 64, 67, 66, 68, 71, 75, 70
Offset: 1

Views

Author

Ferenc Adorjan (fadorjan(AT)freemail.hu or ferencadorjan(AT)gmail.com), May 01 2007

Keywords

Comments

The inversion maintains the cyclic characteristics as described in A129674.

Crossrefs

Inverse of A129674, Cf. A128754, A128755, A129679 and A001969.

Programs

  • PARI
    {pinverse(v)= /* Permutation inverse of a positive sequence */
    local(n,m,x);n=matsize(v)[2]; x=vector(n);
    for(i=1,n,if(v[i]<=n,x[v[i]]=i)); return(x)}
    a=pinverse(A129674)

A129678 Distance sequence of A129674: A129674(n)-n.

Original entry on oeis.org

2, 0, -2, 2, -1, 1, -2, 2, -1, 2, 0, 1, 2, 0, -6, 2, -1, 2, 0, 1, -4, 2, -1, 1, 2, 0, -4, 2, -1, 1, -2, 2, -1, 2, 0, 1, -4, 2, -1, 1, 2, 0, -4, 2, -1, 2, 0, 1, 2, 0, -6, 2, -1, 1, -2, 2, -1, 2, 0, 1, 2, 0, -6, 2, -1, 2, 0, 1, -4, 2, -1, 1, 2, 0, -4, 2, -1, 2, 0, 1, 2, 0, -6, 2, -1, 1, -2, 2, -1, 2, 0, 1, -4, 2, -1, 1, 2, 0, -4
Offset: 1

Views

Author

Ferenc Adorjan (fadorjan(AT)freemail.hu or ferencadorjan(AT)gmail.com), May 01 2007

Keywords

Comments

The numbers in this sequence are in the range of [ -6,2], but they are never -3 nor -5 (tested up to 10^4). The relative density of the values {-6,-4,-2,-1,0,1,2} asymptotically is {1,2,1,4,4,4,8}.

Crossrefs

Distance of A129674, Cf. A129679, A129680, A129681 and A001969.

A129681 Distance sequence of A129677: A129677(n)-n.

Original entry on oeis.org

1, 4, -2, 0, -2, -1, 1, 4, -2, -1, 0, -2, 1, 6, -2, 0, -2, -1, 0, -2, 1, 2, -2, -1, 1, 4, -2, 0, -2, -1, 1, 4, -2, -1, 0, -2, 1, 2, -2, -1, 1, 6, -2, 0, -2, -1, 0, -2, 1, 4, -2, 0, -2, -1, 1, 4, -2, -1, 0, -2, 1, 6, -2, 0, -2, -1, 0, -2, 1, 2, -2, -1, 1, 6, -2, 0, -2, -1, 0, -2, 1, 4, -2, 0, -2, -1, 1, 4, -2, -1, 0, -2, 1, 2, -2, -1, 1, 4, -2
Offset: 1

Views

Author

Ferenc Adorjan (fadorjan(AT)freemail.hu or ferencadorjan(AT)gmail.com), May 01 2007

Keywords

Comments

The numbers in this sequence seem to be in the range of [ -2,6], but they are never 3 nor 5 (tested up to 10^4). The relative density of the values {-2,-1,0,1,2,4,6} asymptotically is {8,4,4,4,1,2,1}.

Crossrefs

Distance of A129677, Cf. A129678, A129679, A129680 and A000069.
Showing 1-4 of 4 results.