login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A309758 Numbers that are sums of consecutive powers of 3. 4
1, 3, 4, 9, 12, 13, 27, 36, 39, 40, 81, 108, 117, 120, 121, 243, 324, 351, 360, 363, 364, 729, 972, 1053, 1080, 1089, 1092, 1093, 2187, 2916, 3159, 3240, 3267, 3276, 3279, 3280, 6561, 8748, 9477, 9720, 9801, 9828, 9837, 9840, 9841, 19683, 26244, 28431 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
COMMENTS
Numbers of the form (3^i - 3^j)/2 with i > j.
LINKS
EXAMPLE
1080 = 3^3 + 3^4 + 3^5 + 3^6, so 1080 is in the sequence.
+------+--------+
| a(n) | base 3*|
+------+--------+
| 1 | 1 |
| 3 | 10 |
| 4 | 11 |
| 9 | 100 |
| 12 | 110 |
| 13 | 111 |
| 27 | 1000 |
| 36 | 1100 |
| 39 | 1110 |
| 40 | 1111 |
+------+--------+
* - a(n) written in base 3.
MAPLE
[seq(seq((3^i-3^j)/2, j=i-1..0, -1), i=1..20)]; # Robert Israel, Aug 19 2019
CROSSREFS
Sequence in context: A294229 A035256 A287400 * A047075 A104479 A067163
KEYWORD
nonn
AUTHOR
Ilya Gutkovskiy, Aug 15 2019
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 16 10:35 EDT 2024. Contains 371709 sequences. (Running on oeis4.)