|
|
A114889
|
|
a(1)=1 and, for n>1, a(n) is the smallest integer greater than a(n-1) such that a(n)+a(i) is not a power of 3, for i=1,..., n-1.
|
|
5
|
|
|
1, 3, 4, 7, 9, 10, 11, 12, 13, 19, 21, 22, 25, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 55, 57, 58, 61, 63, 64, 65, 66, 67, 73, 75, 76, 79, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,2
|
|
COMMENTS
|
The differences of {a(n)}, together with a conjectured formula for them, is given in A114890.
|
|
LINKS
|
|
|
EXAMPLE
|
Given that a(1)=1, a(2)=3 and a(3)=4, we find that a(4)>5 since 5+4=9 and a(4)>6 since 6+3=9. But none of 7+1, 7+3, or 7+4 is a power of 3, so a(4)=7.
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|