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!)
A201124 Differences between odd powers of 3 and the next smaller square 2
2, 2, 18, 71, 83, 747, 1679, 7538, 22394, 65186, 177578, 370898, 1497119, 2428283, 5285858, 47572722, 129918074, 274553378, 1128916463, 2107864523, 6892205234, 25794120683, 14732727599, 132594548391, 214986322034, 1934876898306, 8608610563379, 24645805942151, 63317186094563, 94369472696663 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
FORMULA
a(n) = 3^(2*n-1) - floor(sqrt(3^(2*n-1)))^2
EXAMPLE
a(1)=3^1-1^2=2, a(2)=3^3-5^2=27-25=2, a(3)=3^5-15^2=243-225=18
MATHEMATICA
#-Floor[Sqrt[#]]^2&/@(3^Range[1, 61, 2]) (* Harvey P. Dale, Nov 01 2022 *)
CROSSREFS
Sequence in context: A136434 A121670 A001183 * A173785 A264715 A294341
KEYWORD
nonn
AUTHOR
Hugo Pfoertner, Nov 27 2011
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 20 00:03 EDT 2024. Contains 371798 sequences. (Running on oeis4.)