login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A275549 Number of classes of endofunctions of [n] under reversal. 17

%I #14 Sep 13 2019 20:24:12

%S 1,1,3,18,136,1625,23436,412972,8390656,193739769,5000050000,

%T 142656721086,4458051717120,151437584670385,5556003465485760,

%U 218946946471875000,9223372039002259456,413620131002462320337,19673204037747448432896,989209827833222327690890

%N Number of classes of endofunctions of [n] under reversal.

%C f and g are in the same class if function g(i) = f(n+1-i) for all i.

%C Decomposition by class size

%C .

%C n 1 2

%C ---------------

%C 1 1 0

%C 2 2 1

%C 3 9 9

%C 4 16 120

%C 5 125 1500

%C 6 216 23220

%C 7 2401 410571

%C .

%C Demonstration for the formula: the classes are either of size 1 or 2.

%C The classes of size 1 is for functions invariant by reversal. They are specified by half their values, including one more if n is odd. Their number is n^(ceiling(n/2)).

%C So the number of classes under this symmetry is half (the number of functions + the number of classes of size 1).

%C a(n) is the number of unoriented length n strings with a maximum of n colors. - _Andrew Howroyd_, Sep 13 2019

%H Andrew Howroyd, <a href="/A275549/b275549.txt">Table of n, a(n) for n = 0..200</a>

%F a(n) = (n^n+n^ceiling(n/2))/2.

%o (PARI) a(n) = {(n^n + n^((n+1)\2))/2} \\ _Andrew Howroyd_, Sep 13 2019

%Y Main diagonal of A277504.

%Y Cf. A000312 All endofunctions

%Y Cf. A000169 Classes under translation mod n

%Y Cf. A001700 Classes under sort

%Y Cf. A056665 Classes under rotation

%Y Cf. A168658 Classes under complement to n+1

%Y Cf. A130293 Classes under translation and rotation

%Y Cf. A081721 Classes under rotation and reversal

%Y Cf. A275550 Classes under reversal and complement

%Y Cf. A275551 Classes under translation and reversal

%Y Cf. A275552 Classes under translation and complement

%Y Cf. A275553 Classes under translation, complement and reversal

%Y Cf. A275554 Classes under translation, rotation and complement

%Y Cf. A275555 Classes under translation, rotation and reversal

%Y Cf. A275556 Classes under translation, rotation, complement and reversal

%Y Cf. A275557 Classes under rotation and complement

%Y Cf. A275558 Classes under rotation, complement and reversal

%Y Cf. A078707 Endofunctions symmetric around their middle (stable by reversal).

%K nonn,easy

%O 0,3

%A _Olivier GĂ©rard_, Aug 01 2016

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 24 05:36 EDT 2024. Contains 371918 sequences. (Running on oeis4.)