OFFSET
1,1
COMMENTS
These numbers are of the form 3^k*2^0 + 3^{k-1}*2^{a_1} + ... + 3^1*2^{a_{k-1}} + 3^0*2^{a_k} in which every power 3^i appears, 0 <= i <= k, and where a_i satisfies a_0 = 0, a_0 < a_1 < ... < a_k.
REFERENCES
Kenneth Vollmar, Recursive calculation of 3-smooth representations special of level k, To be submitted mid-2013.
LINKS
Thomas Scheuerle, Table of n, a(n) for n = 1..5000
Richard Blecksmith, Michael McCallum and J. L. Selfridge, 3-smooth representations of integers, Amer. Math. Monthly, 105 (1998), 529-543.
PROG
(PARI) A348175(n, k) = my(ret=0); for(i=0, n-1, if(bittest(k, n-1-i), ret=3*ret+1<<i)); ret;
listA(up_to) = {my(maxexp=if( up_to<2, 0, exponent(up_to-1)+1), v=[], temp=0); for(ex=0, maxexp, for(k=0, 2^ex-1, temp=A348175(ex+1, 2*k+1); if(temp<=up_to && temp>1 && temp%2==1, v=concat(v, temp)))); vecsort(v)} \\ Thomas Scheuerle, Oct 01 2025
CROSSREFS
KEYWORD
nonn
AUTHOR
Kenneth Vollmar, Jun 05 2013
EXTENSIONS
Name and offset changed by Thomas Scheuerle, Oct 01 2025
STATUS
approved
