Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A078588
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A078588 a(n) = 1 if the integer multiple of phi nearest n is greater than n, otherwise 0, where phi = (1+sqrt(5))/2. +0
12
1, 0, 1, 0, 0, 1, 0, 1, 1, 0, 1, 0, 0, 1, 0, 1, 1, 0, 1, 0, 1, 1, 0, 1, 0, 0, 1, 0, 1, 1, 0, 1, 0, 0, 1, 0, 1, 0, 0, 1, 0, 1, 1, 0, 1, 0, 0, 1, 0, 1, 1, 0, 1, 0, 1, 1, 0, 1, 0, 0, 1, 0, 1, 1, 0, 1, 0, 0, 1, 0, 1, 0, 0, 1, 0, 1, 1, 0, 1, 0, 0, 1, 0, 1, 1, 0, 1, 0, 0, 1, 0, 1, 0, 0, 1, 0, 1, 1, 0, 1, 0, 0, 1, 0, 1 (list; graph; listen)
OFFSET

1,1

COMMENT

Comments from Fred Lunnon, Jun 20 2008: (Start) Partition the positive integers into two sets A_0 and A_1 defined by A_k == { n | a(n) = k }; so A_0 = A005653 = { 2, 4, 5, 7, 10, 12, 13, 15, 18, 20, ... }, A_1 = A005652 = { 1, 3, 6, 8, 9, 11, 14, 16, 17, 19, 21, ... }.

Then form the sets of sums of pairs of distinct elements from each set and take the complement of their union: this is the Fibonacci numbers { 1, 2, 3, 5, 8, 13, 21, 34, 55, ... } (see the Chow article). (End)

The Chow-Long paper gives a connection with continued fractions, as well as generalizations and other references for this and related sequences.

This is the complement of A089809; also a(n) = 1 iff A024569(n) = 1. - Gary W. Adamson (qntmpkt(AT)yahoo.com), Nov 11 2003

REFERENCES

K. Alladi et al., On additive partitions of integers, Discrete Math., 22 (1978), 201-211.

T. Chow, A new characterization of the Fibonacci-free partition, Fibonacci Q. 29 (1991), 174-180; online at http://www-math.mit.edu/~tchow/cv.html

D. L. Silverman, J. Recr. Math. 9 (4) 208, problem 567 (1976-77).

LINKS

T. D. Noe, Table of n, a(n) for n=1..1000

T. Y. Chow and C. D. Long, Additive partitions and continued fractions, Ramanujan J., 3 (1999), 55-72 [set alpha=(1+sqrt(5))/2 in Theorem 2 to get A005652 and A005653].

FORMULA

a(n) = floor(2*phi*n) - 2*floor(phi*n) where phi denotes the golden ratio (1 + sqrt5)/2. - W. F. Lunnon (fred.lunnon(AT)gmail.com), Jun 20 2008

a(n) = 2{n*phi} - {2n*phi}, where { } denotes fractional part. - Clark Kimberling (ck6(AT)evansville.edu), Jan 01 2007

a(n) = n+1+ceil(n*sqrt(5)) - 2*ceil(n*phi) where phi = (1+sqrt(5))/2. - Benoit Cloitre (benoit7848c(AT)orange.fr), Dec 05 2002

MATHEMATICA

f[n_] := Block[{k = Floor[n/GoldenRatio]}, If[n - k*GoldenRatio > (k + 1)*GoldenRatio - n, 1, 0]]; Table[ f[n], {n, 1, 105}]

PROGRAM

(PARI) a(n)=n+1+ceil(n*sqrt(5))-2*ceil(n*(1+sqrt(5))/2)

CROSSREFS

Cf. A005652, A005653, A024569, A089808, A089809, A140397-A140401.

Sequence in context: A030658 A112539 A104104 this_sequence A039983 A152490 A145273

Adjacent sequences: A078585 A078586 A078587 this_sequence A078589 A078590 A078591

KEYWORD

easy,nonn

AUTHOR

Robert G. Wilson v (rgwv(AT)rgwv.com), Dec 02 2002

EXTENSIONS

Edited by N. J. A. Sloane (njas(AT)research.att.com), Jun 20 2008, at the suggestion of Fred Lunnon.

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 14:25 EST 2009. Contains 167438 sequences.


AT&T Labs Research