OFFSET
1,1
COMMENTS
LINKS
Harvey P. Dale, Table of n, a(n) for n = 1..1000
FORMULA
EXAMPLE
The 7th Fibonacci number, 13, is concatenated with itself to become a(7) = 1313.
MAPLE
A:= proc(n)
local f;
f:= combinat:-fibonacci(n);
(10^length(f)+1)*f;
end proc:
map(A, [$1..100]); # Robert Israel, Nov 16 2014
# second Maple program:
a:= n-> (p-> parse(cat(p$2)))((<<0|1>, <1|1>>^n)[1, 2]):
seq(a(n), n=1..100); # Alois P. Heinz, Nov 17 2014
MATHEMATICA
Table[FromDigits[Join[Flatten[IntegerDigits[{Fibonacci[n], Fibonacci[n]}]]]], {n, 50}] (* Vincenzo Librandi, Nov 15 2014 *)
#*10^IntegerLength[#]+#&/@Fibonacci[Range[30]] (* Harvey P. Dale, Jul 04 2015 *)
PROG
(PARI) a(n)=(k->eval(Str(k, k)))(fibonacci(n)) \\ Charles R Greathouse IV, Nov 15 2014
(Magma) [Seqint(Intseq(Fibonacci(n)) cat Intseq(Fibonacci(n))): n in [1..30]]; // Vincenzo Librandi, Nov 15 2014
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Indrani Das, Nov 14 2014
STATUS
approved