login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A275865 Floor(r*a(n-1)) - floor(r*a(n-2)), where r = 3/2, a(0) = 1, a(1) = 1. 4
1, 1, 0, -1, -2, -1, 1, 3, 3, 0, -4, -6, -3, 4, 11, 10, -1, -17, -24, -10, 21, 46, 38, -12, -75, -95, -30, 98, 192, 141, -77, -327, -375, -72, 455, 790, 503, -431, -1401, -1455, -81, 2061, 3213, 1728, -2227, -5933, -5559, 561, 9180, 12929, 5623, -10959 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,5
LINKS
FORMULA
a(n) = floor(3*a(n-1)/2) - floor(3*a(n-2)/2).
MATHEMATICA
r = 3/2; a[0] = 1; a[1] = 1; z = 100;
a[n_] := a[n] = Floor[r*a[n - 1]] - Floor[r*a[n - 2]];
t = Table[a[n], {n, 0, z}]
RecurrenceTable[{a[0]==a[1]==1, a[n]==Floor[(3a[n-1])/2]-Floor[ (3a[n-2])/ 2]}, a, {n, 60}] (* Harvey P. Dale, Jan 07 2020 *)
CROSSREFS
Sequence in context: A237928 A108482 A124750 * A136458 A048805 A204015
KEYWORD
easy,sign
AUTHOR
Clark Kimberling, Aug 12 2016
STATUS
approved

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 18 20:26 EDT 2024. Contains 371781 sequences. (Running on oeis4.)