login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A004689 Fibonacci numbers written in base 6. 2

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

%S 0,1,1,2,3,5,12,21,33,54,131,225,400,1025,1425,2454,4323,11221,15544,

%T 31205,51153,122402,213555,340401,554400,1335201,2334001,4113202,

%U 10451203,15004405,25500012,44504421,114404433

%N Fibonacci numbers written in base 6.

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

%t bf[n_,k_]:=Module[{s=ToString[BaseForm[n,k]]},ToExpression[StringDrop[s,{Part[StringPosition[s,"\n"],1,1],-1}]]] lst={};Do[f=bf[Fibonacci[n],6];AppendTo[lst,f],{n,0,4*4!}];lst (* _Vladimir Joseph Stephan Orlovsky_, Jun 17 2009 *)

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

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

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

%Y Cf. A000045 (Fibonacci), A007092 (numbers in base 6).

%K nonn,base,easy

%O 0,4

%A _N. J. A. Sloane_

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified March 28 09:04 EDT 2024. Contains 371240 sequences. (Running on oeis4.)