login
This site is supported by donations to The OEIS Foundation.

 

Logo

Annual Appeal: Today, Nov 11 2014, is the 4th anniversary of the launch of the new OEIS web site. 70,000 sequences have been added in these four years, all edited by volunteers. Please make a donation (tax deductible in the US) to help keep the OEIS running.

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A059689 List consisting of all functions from [1,2,3,...,n] into [1,2,3,...,n] for n=1,2,3,... (written out in full) in lexicographic order. 0

%I

%S 1,1,1,1,2,2,1,2,2,1,1,1,1,1,2,1,1,3,1,2,1,1,2,2,1,2,3,1,3,1,1,3,2,1,

%T 3,3,2,1,1,2,1,2,2,1,3,2,2,1,2,2,2,2,2,3,2,3,1,2,3,2,2,3,3,3,1,1

%N List consisting of all functions from [1,2,3,...,n] into [1,2,3,...,n] for n=1,2,3,... (written out in full) in lexicographic order.

%C Includes every finite sequence of positive integers. - _Franklin T. Adams-Watters_, Jan 26 2006

%e For n=1 there is one function, 1. For n=2 there are 4 such functions and ordering these lexicographically we get (1,1), (1,2), (2,1), (2,2). Thus the sequence begins 1; (1,1), (1,2), (2,1), (2,2); ...

%Y A030298.

%K nonn

%O 1,5

%A Avi Peretz (njk(AT)netvision.net.il), Feb 06 2001

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

Content is available under The OEIS End-User License Agreement .

Last modified November 21 19:46 EST 2014. Contains 249784 sequences.