Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A081946
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A081946 a(n) = sum(i=1,n,floor(r*floor(i/r))) where r=sqrt(2). +0
1
0, 1, 3, 5, 9, 14, 19, 26, 34, 43, 52, 63, 75, 87, 101, 116, 132, 148, 166, 185, 204, 225, 247, 269, 293, 318, 344, 370, 398, 427, 456, 487, 519, 552, 585, 620, 656, 692, 730, 769, 808, 849, 891, 934, 977, 1022, 1068, 1114, 1162, 1211, 1261, 1311, 1363, 1416 (list; graph; listen)
OFFSET

1,3

COMMENT

More generally if r is irrational 1<r<2 then : sum(i=1,n,floor(r*floor(i/r))) = n*(n+1)/2-floor((1-1/r)*n); if r>2, there is the asymptotic formula : sum(i=1,n,floor(r*floor(i/r))) = n*(n+1)/2-ceil(r)*(1-floor(r)/2/r)*n + O(1)

FORMULA

a(n) = n*(n+1)/2-floor((1-1/sqrt(2))*n)

CROSSREFS

Adjacent sequences: A081943 A081944 A081945 this_sequence A081947 A081948 A081949

Sequence in context: A118002 A069533 A054066 this_sequence A053618 A032801 A033818

KEYWORD

nonn

AUTHOR

Benoit Cloitre (benoit7848c(AT)orange.fr), Jun 13 2003

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 October 12 15:26 EDT 2008. Contains 144830 sequences.


AT&T Labs Research