Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A057979
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A057979 a(n) = 1 for even n and (n-1)/2 for odd n. +0
10
1, 0, 1, 1, 1, 2, 1, 3, 1, 4, 1, 5, 1, 6, 1, 7, 1, 8, 1, 9, 1, 10, 1, 11, 1, 12, 1, 13, 1, 14, 1, 15, 1, 16, 1, 17, 1, 18, 1, 19, 1, 20, 1, 21, 1, 22, 1, 23, 1, 24, 1, 25, 1, 26, 1, 27, 1, 28, 1, 29, 1, 30, 1, 31, 1, 32, 1, 33, 1, 34, 1, 35, 1, 36, 1, 37, 1, 38, 1, 39, 1, 40, 1, 41, 1, 42, 1, 43, 1 (list; graph; listen)
OFFSET

0,6

COMMENT

a(n) = b(n)/c(n) where b(n) = A001405(n+1)-A001405(n), c(n) = GCD[A001405(n+1), A001405(n)]

Also the minimal number of disjoint edge-paths into which the complete graph on n edges can be partitioned - Felix Goldberg (felixg(AT)tx.technion.ac.il), Jan 19 2001

For n>=2, number of partitions of n-2 into parts that are distinct mod 2. - Giovanni Resta (g.resta(AT)iit.cnr.it), Feb 06 2006

Sequence starting with a(3) obeys the rule "smallest positive value such that the ordered pair a(n-1),a(n) has not occurred previously", or the rule "smallest positive value such that the ratio a(n-1)/a(n) has not occurred previously". The same subsequence has its ordinal transform equal to itself, shifted left. (The ordinal transform has as its n-th term the number of values in a(1),...,a(n) that are equal to a(n).) - Franklin T. Adams-Watters (FrankTAW(AT)Netscape.net), Dec 13 2006

FORMULA

a(n) = (n+3)/4+(1-n)*(-1)^n/4 - Paul Barry (pbarry(AT)wit.ie), Mar 21 2003, corrected by Hieronymus Fischer (Hieronymus.Fischer(AT)gmx.de), Sep 25 2007

a(n) =(a(n-2)+a(n-3))/a(n-1).

G.f. : (1-x^2+x^3)/((1+x)^2(1-x)^2); a(n)=2a(n-2)-a(n-4); a(n)=0^n+sum{k=0..floor((n-2)/2), binomial(n-k-2, k)binomial(1, n-2k-2)}. - Paul Barry (pbarry(AT)wit.ie), Oct 21 2004

a(n)=gcd(n-1, floor((n-1)/2)) - Paul Barry (pbarry(AT)wit.ie), May 02 2005

a(n)=binomial((2n-3)/4-(-1)^n/4,(1-(-1)^n)/2); - Paul Barry (pbarry(AT)wit.ie), Jun 29 2006

EXAMPLE

n=13, C(13,6)-C(12,6)=792, GCD[C(13,6),C(12,6)]=132, the quotient is 6=Floor[13/2]; n=12 C(12,6)-C(11,5)=924-462=462,GCD[C(12,6),C(11,5)]=462, the quotient is 1.

CROSSREFS

Cf. A001405, A007879, A059222, A000035, A027656, A037952.

Cf. A067992.

Sequence in context: A077609 A077610 A007879 this_sequence A152271 A133622 A158416

Adjacent sequences: A057976 A057977 A057978 this_sequence A057980 A057981 A057982

KEYWORD

nonn

AUTHOR

Labos E. (labos(AT)ana.sote.hu), Nov 13 2000

page 1

Search completed in 0.003 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 December 17 23:40 EST 2009. Contains 171025 sequences.


AT&T Labs Research