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!)
A045682 Extension of Beatty sequence; complement of A045681. 3
0, 5, 10, 15, 20, 27, 32, 37, 42, 49, 54, 59, 64, 71, 76, 81, 86, 93, 98, 103, 108, 113, 118, 125, 130, 135, 140, 147, 152, 157, 162, 169, 174, 179, 184, 191, 196, 201, 206, 211, 216, 223, 228, 233, 238, 245, 250, 255, 260, 267, 272, 277, 282, 289, 294, 299 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,2
COMMENTS
(s,t)-sequences; the case s=2, t=3.
LINKS
A. S. Fraenkel, Heap games, numeration systems and sequences, Annals of Combinatorics, 2 (1998), 197-210.
FORMULA
a(n) = 2*A045681(n)+3*n.
MATHEMATICA
s=2; t=3;
mex:=First[Complement[Range[1, Max[#1]+1], #1]]&;
a[0]=0; b[n_]:=b[n]=s*a[n]+t*n;
a[n_]:=a[n]=mex[Flatten[Table[{a[i], b[i]}, {i, 0, n-1}]]];
Table[a[n], {n, 200}] (* A045681 *)
Table[b[n], {n, 200}] (* A045682 *)
(* From Clark Kimberling, Apr 02 2011 *)
CROSSREFS
Sequence in context: A313759 A313760 A313761 * A045775 A356106 A178892
KEYWORD
nonn
AUTHOR
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 March 28 05:02 EDT 2024. Contains 371235 sequences. (Running on oeis4.)