



1, 2, 4, 8, 16, 6, 12, 24, 22, 18, 10, 20, 14, 2, 4, 8, 16, 6, 12, 24, 22, 18, 10, 20, 14, 2, 4, 8, 16, 6, 12, 24, 22, 18, 10, 20, 14, 2, 4, 8, 16, 6, 12, 24, 22, 18, 10, 20, 14, 2, 4, 8, 16, 6, 12, 24, 22, 18, 10, 20, 14, 2, 4, 8, 16, 6, 12, 24, 22, 18, 10, 20, 14, 2, 4, 8, 16, 6, 12, 24
(list;
graph;
refs;
listen;
history;
text;
internal format)



OFFSET

0,2


LINKS

Table of n, a(n) for n=0..79.
Index entries for linear recurrences with constant coefficients, signature (1, 0, 0, 0, 0, 1, 1).


FORMULA

a(n)= +a(n1) a(n6) +a(n7), n>7. G.f.: (x+2*x^2+4*x^3+8*x^410*x^5+7*x^6+13*x^7+1)/ ((1x) * (x^2+1) * (x^4x^2+1)).  R. J. Mathar, Apr 13 2010


MATHEMATICA

PowerMod[2, Range[0, 100], 26] (* or *) PadRight[{1}, 100, {14, 2, 4, 8, 16, 6, 12, 24, 22, 18, 10, 20}] (* Harvey P. Dale, Aug 02 2013 *)


PROG

(Sage) [power_mod(2, n, 26)for n in range(0, 87)] #
(PARI) a(n)=lift(Mod(2, 26)^n) \\ Charles R Greathouse IV, Mar 22 2016


CROSSREFS

Sequence in context: A088975 A306601 A237851 * A212638 A016018 A333492
Adjacent sequences: A167422 A167423 A167424 * A167426 A167427 A167428


KEYWORD

nonn,easy


AUTHOR

Zerinvary Lajos, Nov 03 2009


STATUS

approved



