A332168 a(n) = 6*(10^(2*n+1)-1)/9 + 2*10^n.
8, 686, 66866, 6668666, 666686666, 66666866666, 6666668666666, 666666686666666, 66666666866666666, 6666666668666666666, 666666666686666666666, 66666666666866666666666, 6666666666668666666666666, 666666666666686666666666666, 66666666666666866666666666666, 6666666666666668666666666666666
Offset: 0
Links
- Index entries for linear recurrences with constant coefficients, signature (111,-1110,1000).
Crossrefs
Programs
-
Maple
A332168 := n -> 6*(10^(2*n+1)-1)/9+2*10^n;
-
Mathematica
Array[6 (10^(2 # + 1)-1)/9 + 2*10^# &, 15, 0] Table[FromDigits[Join[PadRight[{},n,6],{8},PadRight[{},n,6]]],{n,0,20}] (* Harvey P. Dale, Oct 04 2021 *)
-
PARI
apply( {A332168(n)=10^(n*2+1)\9*6+2*10^n}, [0..15])
-
Python
def A332168(n): return 10**(n*2+1)//9*6+2*10**n