|
|
A033175
|
|
n 3's followed by 1.
|
|
15
|
|
|
1, 31, 331, 3331, 33331, 333331, 3333331, 33333331, 333333331, 3333333331, 33333333331, 333333333331, 3333333333331, 33333333333331, 333333333333331, 3333333333333331, 33333333333333331, 333333333333333331, 3333333333333333331, 33333333333333333331
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
0,2
|
|
REFERENCES
|
F. Smarandache, Properties of numbers, University of Craiova, 1973.
|
|
LINKS
|
Eric Weisstein's World of Mathematics, 3
|
|
FORMULA
|
a(n) = (10^(n+1) - 7)/3.
G.f.: ( 1+20*x ) / ( (10*x-1)*(x-1) ). - R. J. Mathar, Aug 24 2011
|
|
MATHEMATICA
|
Table[FromDigits[PadLeft[{1}, n, 3]], {n, 20}] (* Harvey P. Dale, Feb 21 2013 *)
|
|
PROG
|
(Python)
def a(n): return int('3'*n + '1')
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,base,easy
|
|
AUTHOR
|
Jan Jensen (dorul(AT)post6.tele.dk)
|
|
STATUS
|
approved
|
|
|
|