Test  Status  Code Input and Output 

1  Pass 
assert(digits_squared_chain(649) == 1)
[Warning: Function assert has the same name as a MATLAB builtin. We suggest you rename the function to avoid a potential name conflict.]
[> In unix (line 32)
In digits_squared_chain (line 2)
In ScoringEngineTestPoint1 (line 1)
In solutionTest (line 3)]

2  Pass 
assert(digits_squared_chain(79) == 1)
[Warning: Function assert has the same name as a MATLAB builtin. We suggest you rename the function to avoid a potential name conflict.]
[> In unix (line 32)
In digits_squared_chain (line 2)
In ScoringEngineTestPoint2 (line 1)
In solutionTest (line 5)]

3  Pass 
assert(digits_squared_chain(608) == 1)
[Warning: Function assert has the same name as a MATLAB builtin. We suggest you rename the function to avoid a potential name conflict.]
[> In unix (line 32)
In digits_squared_chain (line 2)
In ScoringEngineTestPoint3 (line 1)
In solutionTest (line 7)]

4  Pass 
assert(digits_squared_chain(487) == 1)
[Warning: Function assert has the same name as a MATLAB builtin. We suggest you rename the function to avoid a potential name conflict.]
[> In unix (line 32)
In digits_squared_chain (line 2)
In ScoringEngineTestPoint4 (line 1)
In solutionTest (line 9)]

5  Pass 
assert(digits_squared_chain(739) == 1)
[Warning: Function assert has the same name as a MATLAB builtin. We suggest you rename the function to avoid a potential name conflict.]
[> In unix (line 32)
In digits_squared_chain (line 2)
In ScoringEngineTestPoint5 (line 1)
In solutionTest (line 11)]

6  Pass 
assert(digits_squared_chain(565) == 1)
[Warning: Function assert has the same name as a MATLAB builtin. We suggest you rename the function to avoid a potential name conflict.]
[> In unix (line 32)
In digits_squared_chain (line 2)
In ScoringEngineTestPoint6 (line 1)
In solutionTest (line 13)]

7  Pass 
assert(digits_squared_chain(68) == 1)
[Warning: Function assert has the same name as a MATLAB builtin. We suggest you rename the function to avoid a potential name conflict.]
[> In unix (line 32)
In digits_squared_chain (line 2)
In ScoringEngineTestPoint7 (line 1)
In solutionTest (line 15)]

8  Pass 
assert(digits_squared_chain(383) == 1)
[Warning: Function assert has the same name as a MATLAB builtin. We suggest you rename the function to avoid a potential name conflict.]
[> In unix (line 32)
In digits_squared_chain (line 2)
In ScoringEngineTestPoint8 (line 1)
In solutionTest (line 17)]

9  Pass 
assert(digits_squared_chain(379) == 1)
[Warning: Function assert has the same name as a MATLAB builtin. We suggest you rename the function to avoid a potential name conflict.]
[> In unix (line 32)
In digits_squared_chain (line 2)
In ScoringEngineTestPoint9 (line 1)
In solutionTest (line 19)]

10  Pass 
assert(digits_squared_chain(203) == 1)
[Warning: Function assert has the same name as a MATLAB builtin. We suggest you rename the function to avoid a potential name conflict.]
[> In unix (line 32)
In digits_squared_chain (line 2)
In ScoringEngineTestPoint10 (line 1)
In solutionTest (line 21)]

11  Pass 
assert(digits_squared_chain(632) == 1)
[Warning: Function assert has the same name as a MATLAB builtin. We suggest you rename the function to avoid a potential name conflict.]
[> In unix (line 32)
In digits_squared_chain (line 2)
In ScoringEngineTestPoint11 (line 1)
In solutionTest (line 23)]

12  Pass 
assert(digits_squared_chain(391) == 1)
[Warning: Function assert has the same name as a MATLAB builtin. We suggest you rename the function to avoid a potential name conflict.]
[> In unix (line 32)
In digits_squared_chain (line 2)
In ScoringEngineTestPoint12 (line 1)
In solutionTest (line 25)]

13  Pass 
assert(digits_squared_chain(863) == 1)
[Warning: Function assert has the same name as a MATLAB builtin. We suggest you rename the function to avoid a potential name conflict.]
[> In unix (line 32)
In digits_squared_chain (line 2)
In ScoringEngineTestPoint13 (line 1)
In solutionTest (line 27)]

14  Pass 
assert(digits_squared_chain(13) == 1)
[Warning: Function assert has the same name as a MATLAB builtin. We suggest you rename the function to avoid a potential name conflict.]
[> In unix (line 32)
In digits_squared_chain (line 2)
In ScoringEngineTestPoint14 (line 1)
In solutionTest (line 29)]

15  Pass 
assert(digits_squared_chain(100) == 1)
[Warning: Function assert has the same name as a MATLAB builtin. We suggest you rename the function to avoid a potential name conflict.]
[> In unix (line 32)
In digits_squared_chain (line 2)
In ScoringEngineTestPoint15 (line 1)
In solutionTest (line 31)]

16  Pass 
assert(digits_squared_chain(236) == 1)
[Warning: Function assert has the same name as a MATLAB builtin. We suggest you rename the function to avoid a potential name conflict.]
[> In unix (line 32)
In digits_squared_chain (line 2)
In ScoringEngineTestPoint16 (line 1)
In solutionTest (line 33)]

17  Pass 
assert(digits_squared_chain(293) == 1)
[Warning: Function assert has the same name as a MATLAB builtin. We suggest you rename the function to avoid a potential name conflict.]
[> In unix (line 32)
In digits_squared_chain (line 2)
In ScoringEngineTestPoint17 (line 1)
In solutionTest (line 35)]

18  Pass 
assert(digits_squared_chain(230) == 1)
[Warning: Function assert has the same name as a MATLAB builtin. We suggest you rename the function to avoid a potential name conflict.]
[> In unix (line 32)
In digits_squared_chain (line 2)
In ScoringEngineTestPoint18 (line 1)
In solutionTest (line 37)]

19  Pass 
assert(digits_squared_chain(31) == 1)
[Warning: Function assert has the same name as a MATLAB builtin. We suggest you rename the function to avoid a potential name conflict.]
[> In unix (line 32)
In digits_squared_chain (line 2)
In ScoringEngineTestPoint19 (line 1)
In solutionTest (line 39)]

20  Pass 
assert(digits_squared_chain(806) == 1)

21  Pass 
assert(digits_squared_chain(623) == 1)

22  Pass 
assert(digits_squared_chain(7) == 1)

23  Pass 
assert(digits_squared_chain(13) == 1)

24  Pass 
assert(digits_squared_chain(836) == 1)

25  Pass 
assert(digits_squared_chain(954) == 89)

26  Pass 
assert(digits_squared_chain(567) == 89)

27  Pass 
assert(digits_squared_chain(388) == 89)

28  Pass 
assert(digits_squared_chain(789) == 89)

29  Pass 
assert(digits_squared_chain(246) == 89)

30  Pass 
assert(digits_squared_chain(787) == 89)

31  Pass 
assert(digits_squared_chain(311) == 89)

32  Pass 
assert(digits_squared_chain(856) == 89)

33  Pass 
assert(digits_squared_chain(143) == 89)

34  Pass 
assert(digits_squared_chain(873) == 89)

35  Pass 
assert(digits_squared_chain(215) == 89)

36  Pass 
assert(digits_squared_chain(995) == 89)

37  Pass 
assert(digits_squared_chain(455) == 89)

38  Pass 
assert(digits_squared_chain(948) == 89)

39  Pass 
assert(digits_squared_chain(875) == 89)

40  Pass 
assert(digits_squared_chain(788) == 89)

41  Pass 
assert(digits_squared_chain(722) == 89)

42  Pass 
assert(digits_squared_chain(250) == 89)

43  Pass 
assert(digits_squared_chain(227) == 89)

44  Pass 
assert(digits_squared_chain(640) == 89)

45  Pass 
assert(digits_squared_chain(835) == 89)

46  Pass 
assert(digits_squared_chain(965) == 89)

47  Pass 
assert(digits_squared_chain(726) == 89)

48  Pass 
assert(digits_squared_chain(689) == 89)

Back to basics 11  Max Integer
678 Solvers
Create a square matrix of multiples
383 Solvers
Duplicate each element of a vector.
518 Solvers
420 Solvers
2316 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!