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!)
A182557 a(n) = a(n-1)*2 + floor(sqrt(a(n-2))). 2
0, 1, 2, 5, 11, 24, 51, 106, 219, 448, 910, 1841, 3712, 7466, 14992, 30070, 60262, 120697, 241639, 483625, 967741, 1936177, 3873337, 7748065, 15498098, 30998979, 62001894, 124009355, 248026584, 496064303, 992144354, 1984310980, 3968653458, 7937351461, 15874765919 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,3
LINKS
FORMULA
a(0)=0, a(1)=1, a(n) = a(n-1)*2 + floor(sqrt(a(n-2))).
PROG
(Python)
import math
prpr = 0
prev = 1
for n in range(55):
. current = prev*2 + int(math.sqrt(prpr))
. print prpr,
. prpr = prev
. prev = current
CROSSREFS
Sequence in context: A300277 A294378 A090764 * A027934 A336482 A134389
KEYWORD
nonn
AUTHOR
Alex Ratushnyak, May 05 2012
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 25 13:12 EDT 2024. Contains 371969 sequences. (Running on oeis4.)