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!)
A194140 a(n) = Sum_{j=1..n} floor(j*(1+sqrt(3))); n-th partial sum of Beatty sequence for 1+sqrt(3). 1
2, 7, 15, 25, 38, 54, 73, 94, 118, 145, 175, 207, 242, 280, 320, 363, 409, 458, 509, 563, 620, 680, 742, 807, 875, 946, 1019, 1095, 1174, 1255, 1339, 1426, 1516, 1608, 1703, 1801, 1902, 2005, 2111, 2220, 2332, 2446, 2563, 2683, 2805, 2930, 3058 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
MATHEMATICA
c[n_] := Sum[Floor[j*(1+Sqrt[3])], {j, 1, n}];
c = Table[c[n], {n, 1, 90}]
PROG
(Python)
from sympy import integer_nthroot
def A194140(n): return n*(n+1)//2+sum(integer_nthroot(3*j**2, 2)[0] for j in range(1, n+1)) # Chai Wah Wu, Mar 17 2021
CROSSREFS
Cf. A054088 (Beatty sequence for 1+sqrt(3)).
Sequence in context: A167543 A332495 A184976 * A029888 A194112 A005449
KEYWORD
nonn
AUTHOR
Clark Kimberling, Aug 17 2011
EXTENSIONS
Offset corrected by Alois P. Heinz, Mar 17 2021
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 22:18 EDT 2024. Contains 371782 sequences. (Running on oeis4.)