OFFSET
0,1
COMMENTS
If k is any member of A045572, the sequence lists the numbers n such that (n^k+1)/11 is a nonnegative integer. See also A267541. - Bruno Berselli, Jan 16 2016
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 0..10000
Tanya Khovanova, Recursive Sequences
INRIA Algorithms Project, Encyclopedia of Combinatorial Structures 989
Leo Tavares, Illustration: Triangular Lines
Index entries for linear recurrences with constant coefficients, signature (2,-1).
FORMULA
From G. C. Greubel, Oct 29 2019: (Start)
G.f.: (10 + x)/(1-x)^2.
E.g.f.: (10 + 11*x)*exp(x).
a(n) = 2*a(n-1) - a(n-2). (End)
MAPLE
seq((11*n+10), n=0..60); # G. C. Greubel, Oct 29 2019
MATHEMATICA
Range[10, 1000, 11] (* Vladimir Joseph Stephan Orlovsky, May 29 2011 *)
(11*Range[60] -1) (* G. C. Greubel, Oct 29 2019 *)
PROG
(Magma) [11*n+10: n in [0..60]]; // Vincenzo Librandi, Sep 18 2011
(PARI) a(n)=11*n+10 \\ Charles R Greathouse IV, Jul 10 2016
(Sage) [(11*n+10) for n in (0..60)] # G. C. Greubel, Oct 29 2019
(GAP) List([0..60], n-> (11*n+10)); # G. C. Greubel, Oct 29 2019
(Python)
def a(n): return 11*n + 10
print([a(n) for n in range(53)]) # Michael S. Branicky, Oct 21 2021
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
STATUS
approved