Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A163590
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A163590 Odd part of the swinging factorial A056040. +0
3
1, 1, 1, 3, 3, 15, 5, 35, 35, 315, 63, 693, 231, 3003, 429, 6435, 6435, 109395, 12155, 230945, 46189, 969969, 88179, 2028117, 676039, 16900975, 1300075, 35102025, 5014575, 145422675, 9694845, 300540195 (list; graph; listen)
OFFSET

0,4

COMMENT

Let n$ denote the swinging factorial. a(n) = n$ / 2^sigma(n) where sigma(n) is the exponent of 2 in the prime-factorisation of n$. sigma(n) can be computed as the number of '1's in the base 2 representation of floor(n/2).

REFERENCES

Peter Luschny, "Divide, swing and conquer the factorial and the lcm{1,2,...,n}", preprint, April 2008.

LINKS

Peter Luschny, Swinging Factorial.

EXAMPLE

11$ = 2772 = 2^2*3^2*7*11. Therefore a(11) = 3^2*7*11 = 2772/4 = 693.

MAPLE

swing := proc(n) option remember; if n = 0 then 1 elif irem(n, 2) = 1 then swing(n-1)*n else 4*swing(n-1)/n fi end:

sigma := n -> 2^(add(i, i= convert(iquo(n, 2), base, 2))):

a := n -> swing(n)/sigma(n);

CROSSREFS

Cf. A056040 and A151565. A001790 = a(2*n), A001803(n) = a(2*n+1).

Sequence in context: A100371 A100347 A165405 this_sequence A114320 A086116 A100735

Adjacent sequences: A163587 A163588 A163589 this_sequence A163591 A163592 A163593

KEYWORD

nonn

AUTHOR

Peter Luschny (peter(AT)luschny.de), Aug 01 2009

page 1

Search completed in 0.002 seconds

Lookup | Welcome | Find friends | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
More pages | Superseeker | Maintained by N. J. A. Sloane (njas@research.att.com)

Last modified November 24 23:16 EST 2009. Contains 167481 sequences.


AT&T Labs Research