int main(int argc, const char * argv[]) {
@autoreleasepool {
unsigned long num = 1;
int counter = 1;
while(counter <= 64){
num = num << 1;
if(counter % 2 == 0){
num += 1;
}
counter ++;
}
NSLog(@"The number is %lu", num);
}
return 0;
}