|
|
A125836
|
|
Numbers whose base 8 or octal representation is 555555555......5.
|
|
2
|
|
|
0, 5, 45, 365, 2925, 23405, 187245, 1497965, 11983725, 95869805, 766958445, 6135667565, 49085340525, 392682724205, 3141461793645, 25131694349165, 201053554793325, 1608428438346605, 12867427506772845, 102939420054182765
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,2
|
|
LINKS
|
|
|
FORMULA
|
a(n) = 5*(8^(n-1) -1)/7 = 5*A023001(n-1).
E.g.f.: 5*(exp(8*x) - exp(x))/7. (End)
|
|
EXAMPLE
|
Octal...............decimal
0........................0
5........................5
55......................45
555....................365
5555..................2925
55555................23405
555555..............187245
5555555............1497965
55555555..........11983725
555555555.........95869805
5555555555.......766958445
etc. ...............etc.
|
|
MAPLE
|
seq(5*(8^n-1)/7, n=0..30);
|
|
MATHEMATICA
|
|
|
PROG
|
(PARI) vector(30, n, 5*(8^(n-1) -1)/7) \\ G. C. Greubel, Aug 03 2019
(Magma) [5*(8^(n-1) -1)/7: n in [1..30]]; // G. C. Greubel, Aug 03 2019
(Sage) [5*(8^(n-1) -1)/7 for n in (1..30)] # G. C. Greubel, Aug 03 2019
(GAP) List([1..30], n-> 5*(8^(n-1) -1)/7); # G. C. Greubel, Aug 03 2019
|
|
CROSSREFS
|
|
|
KEYWORD
|
easy,nonn
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|