OFFSET
0,2
COMMENTS
If n is in the sequence, then so is n followed by q ones, where q is congruent to 0 mod 6. For example, 13072 is a term, so 13072111111 is also.
EXAMPLE
a(2) =81*2^6 + 162*2^5 + 135*2^4 + 60*2^3 + 15*2^2 + 2*2 = 13072.
MAPLE
f:=n->((3*n+1)^6-1)/9; [seq(f(n), n=0..30)];
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Jake Lawrence, Mar 05 2017
EXTENSIONS
Edited by N. J. A. Sloane, Mar 07 2017
STATUS
approved