Cody

# Problem 2496. Unusual Concatenations

Solution 485491

Submitted on 11 Aug 2014 by Abdullah Caliskan
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.

### Test Suite

Test Status Code Input and Output
1   Pass
%% n = 1233; b_correct = 1; assert(isequal(isUnusual(n),b_correct))

k = 1233 h = 2

2   Pass
%% n = 1729; b_correct = 0; assert(isequal(isUnusual(n),b_correct))

k = 1729 h = 2

3   Pass
%% n = 8833; b_correct = 1; assert(isequal(isUnusual(n),b_correct))

k = 8833 h = 2

4   Pass
%% n = 990100; b_correct = 1; assert(isequal(isUnusual(n),b_correct))

k = 990100 h = 3

5   Pass
%% n = 299800; b_correct = 0; assert(isequal(isUnusual(n),b_correct))

k = 299800 h = 3

6   Pass
%% n = 94122353; b_correct = 1; assert(isequal(isUnusual(n),b_correct))

k = 94122353 h = 4

7   Pass
%% n = 31415926; b_correct = 0; assert(isequal(isUnusual(n),b_correct))

k = 31415926 h = 4

8   Pass
%% n = 1765038125; b_correct = 1; assert(isequal(isUnusual(n),b_correct))

k = 1765038125 h = 5

9   Pass
%% n = 3141592653; b_correct = 0; assert(isequal(isUnusual(n),b_correct))

k = 3141592653 h = 5

10   Pass
%% n = 116788321168; b_correct = 1; assert(isequal(isUnusual(n),b_correct))

k = 116788321168 h = 6

11   Pass
%% n = 271828182845; b_correct = 0; assert(isequal(isUnusual(n),b_correct))

k = 271828182845 h = 6

12   Pass
%% n = 92318202663025; b_correct = 1; assert(isequal(isUnusual(n),b_correct))

k = 92318202663025 h = 7

13   Pass
%% n = 15348303604525; b_correct = 1; assert(isequal(isUnusual(n),b_correct))

k = 15348303604525 h = 7