login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A051039
4-Stohr sequence.
9
1, 2, 4, 8, 16, 31, 46, 61, 76, 91, 106, 121, 136, 151, 166, 181, 196, 211, 226, 241, 256, 271, 286, 301, 316, 331, 346, 361, 376, 391, 406, 421, 436, 451, 466, 481, 496, 511, 526, 541, 556, 571, 586, 601, 616, 631, 646, 661, 676, 691, 706, 721, 736, 751
OFFSET
1,2
LINKS
Eric Weisstein's World of Mathematics, Stoehr Sequence.
FORMULA
a(n) = 15*n-59 for n>4. a(n) = 2*a(n-1)-a(n-2) for n>6. G.f.: x*(7*x^5+4*x^4+2*x^3+x^2+1)/(x-1)^2. - Colin Barker, Sep 19 2012
MATHEMATICA
Join[{1, 2, 4, 8}, Range[16, 3001, 15]] (* Vladimir Joseph Stephan Orlovsky, Jan 27 2012 *)
LinearRecurrence[{2, -1}, {1, 2, 4, 8, 16, 31}, 60] (* Harvey P. Dale, Dec 25 2016 *)
PROG
(PARI) a(n)=if(n>4, 15*n-59, 2^(n-1)) \\ Charles R Greathouse IV, Jun 20 2024
CROSSREFS
KEYWORD
nonn,easy
STATUS
approved