A274626 a(n) = Product_{i=0..2} (2^floor((n+i)/3)-1).
0, 0, 0, 1, 3, 9, 27, 63, 147, 343, 735, 1575, 3375, 6975, 14415, 29791, 60543, 123039, 250047, 504063, 1016127, 2048383, 4112895, 8258175, 16581375, 33227775, 66585855, 133432831, 267126783, 534776319, 1070599167, 2142244863, 4286583807, 8577357823, 17158905855, 34326194175, 68669157375
Offset: 0
Keywords
References
- Tom Karzes, Posting to Math Fun Mailing List, Jul 05 2016.
Links
- Harvey P. Dale, Table of n, a(n) for n = 0..1000
Programs
-
Maple
f:=(n,d) -> mul(2^floor((n+i)/d)-1, i = 0 .. d-1); [seq(f(n,3),n=0..40)];
-
Mathematica
Table[Product[(2^Floor[(n+i)/3]-1),{i,0,2}],{n,0,40}] (* Harvey P. Dale, Jun 29 2025 *)
-
PARI
a(n) = prod(i=0, 2, 2^floor((n+i)/3)-1) \\ Colin Barker, Jul 06 2016
Formula
Empirical g.f.: x^3*(1+2*x^2) / ((1-x)*(1-2*x)*(1-2*x^3)*(1-4*x^3)). - Colin Barker, Jul 06 2016
Comments