OFFSET
0,1
LINKS
Seiichi Manyama, Table of n, a(n) for n = 0..10000
J. H. Conway and N. J. A. Sloane, Notes on the Para-Fibonacci and related sequences
Clark Kimberling, Complementary equations and Wythoff Sequences, JIS 11 (2008) 08.3.3
N. J. A. Sloane, Classic Sequences
MAPLE
t := (1+sqrt(5))/2 ; [ seq(5*floor((n+1)*t)+3*n, n=0..80) ];
MATHEMATICA
f[n_] := 5 Floor[(n + 1) GoldenRatio] + 3n; Array[f, 54, 0] (* Robert G. Wilson v, Dec 11 2017 *)
PROG
(Python)
from math import isqrt
def A035338(n): return 5*(n+1+isqrt(5*(n+1)**2)>>1)+3*n # Chai Wah Wu, Aug 11 2022
CROSSREFS
KEYWORD
nonn
AUTHOR
STATUS
approved