



1111111, 111, 21, 13, 12, 11, 10, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7
(list;
graph;
refs;
listen;
history;
text;
internal format)



OFFSET

1,1


LINKS

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


FORMULA

G.f.: x*(11111111111000*x90*x^28*x^3x^4x^5x^63*x^7)/(1x).  Bruno Berselli, Sep 12 2011


MATHEMATICA

Prepend[Table[FromDigits[IntegerDigits[7, n]], {n, 2, 100}], (10^7  1)/9] (* Arkadiusz Wesolowski, Sep 12 2011 *)


PROG

(PARI) a(n)=if(n>7, 7, [1111111, 111, 21, 13, 12, 11, 10][n]) \\ Charles R Greathouse IV, Sep 02 2011
(MAGMA) I:=[1111111, 111, 21, 13, 12, 11, 10]; [n lt 8 select I[n] else 7: n in [1..93]]; // Bruno Berselli, Sep 12 2011


CROSSREFS

Sequence in context: A060087 A229783 A176999 * A038449 A262498 A257937
Adjacent sequences: A035610 A035611 A035612 * A035614 A035615 A035616


KEYWORD

nonn,base,easy


AUTHOR

N. J. A. Sloane.


STATUS

approved



