OFFSET
1,1
COMMENTS
Note that A276385 agrees with this sequence for n <= 17160 but disagrees beyond that point. In fact a(17161) = 48725, whereas A276385(17161) = 48724. - N. J. A. Sloane, Sep 03 2016
Also somewhat similar to but different from A109232. - N. J. A. Sloane, Sep 04 2016
LINKS
Harvey P. Dale and N. J. A. Sloane, Table of n, a(n) for n = 1..20000, Aug 29 2016 (First 1000 terms from Harvey P. Dale)
N. J. A. Sloane, Table of n, a(n) for n = 1..100000
FORMULA
For n >= 1, a(n) = A158919(n)+n. - N. J. A. Sloane, Sep 04 2016
EXAMPLE
Tribonacci constant: t = 1.839286755214161132551852564653286600...
MATHEMATICA
With[{tc=1/3 (1+Surd[19-3Sqrt[33], 3])+1/3 Surd[19+3Sqrt[33], 3]}, Array[ Floor[ (1+tc)*#]&, 70]] (* Harvey P. Dale, Dec 05 2013 *)
PROG
(PARI) {a(n)=local(t=(1+(19+3*sqrt(33))^(1/3)+(19-3*sqrt(33))^(1/3))/3); floor(n*(1+t))}
CROSSREFS
KEYWORD
nonn
AUTHOR
Paul D. Hanna, Jun 01 2008
STATUS
approved