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

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A001068 Floor(5*n/4). 15
0, 1, 2, 3, 5, 6, 7, 8, 10, 11, 12, 13, 15, 16, 17, 18, 20, 21, 22, 23, 25, 26, 27, 28, 30, 31, 32, 33, 35, 36, 37, 38, 40, 41, 42, 43, 45, 46, 47, 48, 50, 51, 52, 53, 55, 56, 57, 58, 60, 61, 62, 63, 65, 66, 67, 68, 70, 71, 72, 73, 75, 76, 77, 78, 80, 81, 82, 83, 85, 86, 87, 88 (list; graph; refs; listen; history; internal format)
OFFSET

0,3

COMMENTS

Numbers that are congruent to {0, 1, 2, 3} mod 5.

Contribution from M. F. Hasler, Oct 21 2008: (Start)

Also, for n>0, the 4th term (after [0,n,3n]) in the continued fraction expansion of arctan(1/n). (Observation by V. Reshetnikov.) Proof:

arctan(1/n) = (1/n) / (1 + (1/n)^2/( 3 + (2/n)^2/( 5 + (3/n)^2/( 7 + ...)...)

= 1 / ( n + 1/( 3n + 4/( 5n + 9/( 7n + 25/(...)...)

= 1 / ( n + 1/( 3n + 1/( 5n/4 + (9/4)/( 7n + 25/(...)...),

and the term added to 5n/4, (9/4)/(7n+...)=(1/4)*9/(7n+...) is less than 1/4 for all n>=2. (End)

REFERENCES

P. Erdos, Some recent problems and results in graph theory, Discr. Math., 164 (1997), 81-85.

LINKS

Vincenzo Librandi, Table of n, a(n) for n = 0..10000

Wikipedia: Continued fraction for arctangent. [From M. F. Hasler, Oct 21 2008]

Index to sequences with linear recurrences with constant coefficients, signature (1,0,0,1,-1).

FORMULA

contfrac( arctan( 1/n )) = 0 + 1/( n + 1/( 3n + 1/( a(n) + 1/(...)))). - M. F. Hasler, Oct 21 2008

a(n)=Sum_k>=0 {A030308(n,k)*b(k)} with b(0)=1, b(1)=2 and b(k)=5*2^(k-2) for k>1. - From DELEHAM Philippe, Oct 17 2011.

Contribution from Bruno Berselli, Oct 17 2011:  (Start)

G.f.: x*(1+x+x^2+2*x^3)/((1+x)*(1-x)^2*(1+x^2)).

a(n) = (10*n+2*(-1)^((n-1)n/2)+(-1)^n-3)/8.

a(-n) = -A047203(n+1). (End)

MATHEMATICA

Table[Floor[5*n/4], {n, 0, 120}] (* From Vladimir Joseph Stephan Orlovsky, Jan 28 2012 *)

PROG

(PARI) a(n)=5*n\4 /* or, cf. comment: */ a(n)=contfrac(atan(1/n))[4] [From M. F. Hasler, Oct 21 2008]

(MAGMA) [Floor(5*n/4): n in [0..80]]; // Vincenzo Librandi, Nov 13 2011

CROSSREFS

Cf. A110255-A110260. [From M. F. Hasler, Oct 21 2008]

Sequence in context: A028798 A138309 A184514 * A039145 A038129 A062071

Adjacent sequences:  A001065 A001066 A001067 * A001069 A001070 A001071

KEYWORD

nonn,easy

AUTHOR

N. J. A. Sloane (njas(AT)research.att.com).

EXTENSIONS

More terms from James A. Sellers, Sep 19 2000

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

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

Last modified February 15 23:21 EST 2012. Contains 205860 sequences.