A347836 a(n) = 8*(n + floor(n/3)) - 3; second column of A347834.
5, 13, 29, 37, 45, 61, 69, 77, 93, 101, 109, 125, 133, 141, 157, 165, 173, 189, 197, 205, 221, 229, 237, 253, 261, 269, 285, 293, 301, 317, 325, 333, 349, 357, 365, 381, 389, 397, 413, 421, 429, 445, 453, 461, 477, 485, 493
Offset: 1
Links
- Paolo Xausa, Table of n, a(n) for n = 1..10000
- Index entries for linear recurrences with constant coefficients, signature (1,0,1,-1).
Programs
-
Maple
seq(8*(n + floor(n/3)) - 3, n = 1..47); # Peter Luschny, Oct 10 2021
-
Mathematica
A347836[n_] := 8*(n + Floor[n/3]) - 3; Array[A347836, 50] (* or *) LinearRecurrence[{1, 0, 1, -1}, {5, 13, 29, 37}, 50] (* Paolo Xausa, Feb 27 2024 *)