OFFSET
1,2
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 1..1000
FORMULA
a(n) = M / GCD( M, 11 ) where M=2^n-1.
From Colin Barker, Aug 24 2014: (Start)
a(n) = 1025*a(n-10)-1024*a(n-20).
G.f.: x*(512*x^18 +768*x^17 +896*x^16 +960*x^15 +992*x^14 +1008*x^13 +1016*x^12 +1020*x^11 +1022*x^10 +93*x^9 +511*x^8 +255*x^7 +127*x^6 +63*x^5 +31*x^4 +15*x^3 +7*x^2 +3*x +1) / (1024*x^20 -1025*x^10 +1).
(End)
a(n) = (2^n - 1)/11 if n is divisible by 10, 2^n - 1 otherwise. - Robert Israel, Aug 24 2014
MAPLE
MATHEMATICA
Table[(2^n - 1)/GCD[2^n - 1, 11], {n, 50}] (* Vincenzo Librandi, Mar 16 2013 *)
PROG
(Magma) [(2^n - 1) / GCD (2^n - 1, 11): n in [1..40]]; // Vincenzo Librandi, Mar 16 2013
(PARI) { for(n=1, 36, if(n%10, a=2^n-1, a=(2^n-1)/11); print1(a, ", ")) } \\ K. Spage, Aug 23 2014
CROSSREFS
KEYWORD
nonn
AUTHOR
Joerg Arndt, Jun 07 2012
STATUS
approved