

A077717


Primes which can be expressed as sum of distinct powers of 3.


8



3, 13, 31, 37, 109, 271, 283, 337, 733, 739, 757, 769, 811, 823, 1009, 1063, 1093, 2269, 2281, 2467, 2521, 2539, 2551, 2917, 2953, 3001, 3037, 3163, 3169, 3187, 3253, 3271, 6571, 6673, 6679, 6841, 7321, 7411, 7537, 7561, 7573, 8761, 8779, 8839, 9001
(list;
graph;
refs;
listen;
history;
text;
internal format)



OFFSET

1,1


COMMENTS

Primes whose base 3 representation contains only zeros and 1's.


LINKS

Harvey P. Dale, Table of n, a(n) for n = 1..10000


EXAMPLE

31 = 3^3 + 3 +1 belongs to this sequence.


MATHEMATICA

Select[FromDigits[#, 3]&/@Tuples[{0, 1}, 10], PrimeQ] (* Harvey P. Dale, Mar 30 2015 *)


CROSSREFS

Cf. A020449, A077718, A077719, A077720, A077721, A077722, A077724.
Sequence in context: A273337 A273769 A097955 * A235265 A275081 A248368
Adjacent sequences: A077714 A077715 A077716 * A077718 A077719 A077720


KEYWORD

nonn


AUTHOR

Amarnath Murthy, Nov 19 2002


EXTENSIONS

More terms from John W. Layman, Nov 22 2002


STATUS

approved



