OFFSET
1,2
COMMENTS
{+-a(n)} gives all nonzero cubes modulo all powers of 3, that is, cubes over 3-adic integers. So this sequence is closed under multiplication.
LINKS
Jianing Song, Table of n, a(n) for n = 1..9231 (all terms <= 40000)
FORMULA
a(n) = 13*n/3 + O(log(n)).
PROG
(PARI) isA319293(n)= n\27^valuation(n, 27)%9==1||n\27^valuation(n, 27)%9==8
CROSSREFS
KEYWORD
nonn
AUTHOR
Jianing Song, Sep 16 2018
STATUS
approved