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!)
A179526 (3^k - 1)/2 appears 3^(k-1) times, k>0. 3
1, 4, 4, 4, 13, 13, 13, 13, 13, 13, 13, 13, 13, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 121, 121, 121, 121, 121, 121, 121, 121, 121, 121, 121, 121, 121, 121, 121, 121, 121, 121, 121, 121, 121, 121, 121 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,2
LINKS
FORMULA
a(n+1) = 3*a(floor(n/3)) + 1; a(0) = 1.
MATHEMATICA
Table[PadRight[{}, 3^(k-1), (3^k-1)/2], {k, 5}]//Flatten (* Harvey P. Dale, May 30 2021 *)
CROSSREFS
Sequence in context: A217771 A261321 A245517 * A098525 A141666 A102127
KEYWORD
nonn
AUTHOR
Reinhard Zumkeller, Jul 18 2010
EXTENSIONS
Erroneous comment deleted by Reinhard Zumkeller, Jul 23 2010
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 March 28 18:04 EDT 2024. Contains 371254 sequences. (Running on oeis4.)