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.

A079440 Number of transpositions (2-cycles) in range [A014137(n-1)..A014138(n-1)] of permutation A057505 (= Donaghey's automorphism M).

Original entry on oeis.org

0, 0, 1, 1, 1, 2, 2, 2, 3, 3, 3, 4, 4, 4, 6, 6, 6, 7, 8, 8, 9, 9, 11, 12, 12, 12, 14, 14, 14, 15, 17, 17, 18, 18, 19, 20, 20, 20, 23, 23, 23, 24, 25, 25, 26, 26, 28, 29, 29, 29, 31, 31, 31, 32, 34, 34, 35, 35, 36, 37, 37, 37, 40, 40, 40, 41, 42, 42, 43, 43, 45, 46, 46, 46, 48, 48, 48
Offset: 0

Views

Author

Antti Karttunen, Jan 27 2003

Keywords

Crossrefs

From n>= 2 onward a(n) = A079438(n)/2 (with the same reservation). Cf. A079444.

Programs

  • Maple
    A079440 := n -> floor((n+1)/3) + `if`((n>=14),floor((n-10)/4)+floor((n-14)/8),0);