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

 

Logo

Invitation: celebrating 50 years of OEIS, 250000 sequences, and Sloane's 75th, there will be a conference at DIMACS, Rutgers, Oct 9-10 2014.

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A172267 a(n) = floor(n*(sqrt(7)-sqrt(5))). 2
0, 0, 0, 1, 1, 2, 2, 2, 3, 3, 4, 4, 4, 5, 5, 6, 6, 6, 7, 7, 8, 8, 9, 9, 9, 10, 10, 11, 11, 11, 12, 12, 13, 13, 13, 14, 14, 15, 15, 15, 16, 16, 17, 17, 18, 18, 18, 19, 19, 20, 20, 20, 21, 21, 22, 22, 22, 23, 23, 24, 24, 24, 25, 25, 26, 26, 27, 27, 27, 28, 28, 29, 29, 29, 30, 30, 31, 31 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,6

LINKS

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

MATHEMATICA

With[{c = Sqrt[7] - Sqrt[5]}, Floor[c Range[0, 80]]] (* Vincenzo Librandi, Aug 01 2013 *)

PROG

(MAGMA) [Floor(n*(Sqrt(7)-Sqrt(5))): n in [0..80]]; // Vincenzo Librandi, Aug 01 2013

CROSSREFS

Cf. A172264, A172266-A172270, A172272-A172278.

Sequence in context: A100719 A057354 A172476 * A231151 A097508 A244225

Adjacent sequences:  A172264 A172265 A172266 * A172268 A172269 A172270

KEYWORD

nonn,easy

AUTHOR

Vincenzo Librandi, Jan 30 2010

STATUS

approved

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

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

Last modified August 21 15:23 EDT 2014. Contains 245856 sequences.