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.

Previous Showing 11-13 of 13 results.

A285055 Sum of the cycle lengths of the elements 0,1,...n-1, in Zn under multiplication.

Original entry on oeis.org

1, 2, 4, 5, 12, 8, 22, 11, 24, 24, 64, 18, 78, 44, 38, 31, 172, 48, 184, 50, 74, 128, 334, 38, 236, 156, 192, 96, 474, 76, 442, 103, 214, 344, 194, 106, 672, 368, 242, 102, 904, 148, 904, 278, 218, 668, 1522, 102, 910, 472, 518, 320, 1728, 384, 558, 200, 614, 948
Offset: 1

Views

Author

Chad Brewbaker, Apr 08 2017

Keywords

Examples

			For n=3, 0->0 (cycle length 1), 1->1 (cycle length 1) and 2->1->2 (cycle length 2); 1+1+2 = 4.
The triangle of the cycle lengths is:
1 ;
1, 1 ;
1, 1, 2 ;
1, 1, 1, 2 ;
1, 1, 4, 4, 2 ;
1, 1, 2, 1, 1, 2 ;
1, 1, 3, 6, 3, 6, 2 ;
1, 1, 1, 2, 1, 2, 1, 2 ;
1, 1, 6, 1, 3, 6, 1, 3, 2 ;
1, 1, 4, 4, 2, 1, 1, 4, 4, 2 ;
		

Crossrefs

See A060014 for permutations on n elements.

Programs

  • Maple
    A285055Tr := proc(n,m)
        local a,nmap,cyc ;
        nmap := n ;
        cyc := [n] ;
        for a from 1 do
            nmap := modp(nmap*n,m) ;
            if member(nmap,cyc,'i') then
                return nops(cyc)-i+1;
            else
                cyc := [op(cyc),nmap] ;
            end if;
        end do:
    end proc:
    A285055 := proc(m)
        add(A285055Tr(n,m),n=0..m-1) ;
    end proc:
    seq(A285055(m),m=1..30) ; # R. J. Mathar, May 06 2017

A060180 Sum of distinct orders of degree-n even permutations.

Original entry on oeis.org

1, 1, 4, 6, 11, 15, 28, 43, 74, 103, 148, 213, 296, 476, 679, 990, 1133, 1707, 2225, 3260, 4591, 6042, 7343, 9374, 13774, 18262, 25244, 30379, 39768, 47295, 66471, 87903, 115570, 139802, 173605, 215878, 271434, 369256, 466904, 569623, 664775
Offset: 1

Views

Author

Vladeta Jovovic, Mar 19 2001

Keywords

Examples

			Set of orders of all degree 5 even permutations is {1,2,3,5} so a(5)=1+2+3+5=11.
		

Crossrefs

Extensions

More terms from David Wasserman, May 29 2002

A096596 a(n) = A060178(n) - A060015(n).

Original entry on oeis.org

-1, 1, -1, 5, 49, 449, 6131, 25129, 257825, 2797409, 97602559, 1520338841, 25975583789, 245725626145, 959689963259, 22900048571009, 1865034074530801, 48689863762892609, 1021947714097845815
Offset: 1

Views

Author

Russell Walsmith (russw(AT)lycos.com), Aug 10 2004

Keywords

Crossrefs

Extensions

More terms from Vladeta Jovovic, Aug 10 2004
Shorter name from Joerg Arndt, Sep 21 2020
Previous Showing 11-13 of 13 results.