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!)
A333082 Number of permutations sigma of [n] such that all values sigma(k)/k for 1 <= k <= n are pairwise distinct. 2
1, 1, 1, 5, 13, 79, 345, 2785, 19595, 171141, 1555181, 18998391, 184988197, 2675065491, 35582840563, 490186693669 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,4
LINKS
Wikipedia, Permutation
MATHEMATICA
Table[ Count[ Length[ Union[ #/ Range[n]]] & /@ Permutations[ Range@n], n], {n, 0, 9}] (* Giovanni Resta, Mar 09 2020 *)
PROG
(Ruby)
def A(n)
(1..n).to_a.permutation.select{|i| (1..n).map{|j| i[j - 1] / j.to_r}.uniq.size == n}.size
end
def A333082(n)
(0..n).map{|i| A(i)}
end
p A333082(9)
CROSSREFS
Cf. A333083.
Sequence in context: A027612 A027457 A113876 * A214536 A363015 A324418
KEYWORD
nonn,more
AUTHOR
Seiichi Manyama, Mar 07 2020
EXTENSIONS
a(13)-a(15) from Giovanni Resta, Mar 09 2020
STATUS
approved

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 July 25 16:17 EDT 2024. Contains 374612 sequences. (Running on oeis4.)