login
Fibonacci numbers written in base 8.
2

%I #14 Sep 08 2022 08:44:33

%S 0,1,1,2,3,5,10,15,25,42,67,131,220,351,571,1142,1733,3075,5030,10125,

%T 15155,25302,42457,67761,132440,222421,355061,577502,1154563,1754265,

%U 3131050,5105335,10236405,15343742

%N Fibonacci numbers written in base 8.

%H Vincenzo Librandi, <a href="/A004691/b004691.txt">Table of n, a(n) for n = 0..1000</a>

%t FromDigits[IntegerDigits[#, 8]] & / @ Fibonacci[Range[0, 40]] (* _Vincenzo Librandi_, Jun 08 2013 *)

%o (PARI) vector(50, n, n--; fromdigits(digits(fibonacci(n), 8))) \\ _G. C. Greubel_, Oct 09 2018

%o (Magma) [Seqint(Intseq(Fibonacci(n),8)): n in [0..50]]; // _G. C. Greubel_, Oct 09 2018

%Y CF. A000045 (Fibonacci), A007094 (numbers in base 8).

%K nonn,base,easy

%O 0,4

%A _N. J. A. Sloane_