a:
(a-1)*2(a+1) + 2 + [a+1]*2[a+1] =?= ([a+1]-1)*2([a+1]+1) + 2
Incidentally, note that substituting a few values for a
such as 2
and/or 3
and/or 5
would
show only that the equation is true for the specific values that you test;
it
wouldn't
show that the equation is true for other values of a
which you haven't tested.
What you need to do here is
apply algebra to the terms in that
equation:
maybe multiply things out,
collect terms, etc....
Acknowledgement:
Some of these exercises are derived from Richard Johnsonbaugh.
n!
------*(n+1)*(k+1)
(k+1)!
!= |¯x¯| + |¯y¯|.
!= |_x_| + |¯y¯|.
f13(y) := ( y + ⌊(y-1)/4⌋ - ⌊(y-1)/100⌋ + &lfloor(y-1)/400⌋ ) mod 7Here's the table:
i.e. f13(y) := ( y + |_(y-1)/4_| - |_(y-1)/100_| + |_(y-1)/400_| ) mod 7
f13(y) if y is not a leap year if y is a leap year
------ ----------------------- -------------------
0 January, October January, April, July
1 April, July September, December
2 September, December June
3 June March, November
4 February, March, November February, August
5 August May
6 May October
For example for next year, 2010:
f13(2010) := ( 2010 + ⌊(2010-1)/4⌋ - ⌊(2010-1)/100⌋ + &lfloor(2010-1)/400⌋ ) mod 7Determine the months with Friday the 13th in 2001, in 2004, and in our current year right now.
:= ( 2010 + 502 - 20 + 5 ) mod 7
:= 2497 mod 7
:= 5,
and 2010 is not a leap year; so looking at the appropriate entry in the table above, in the year 2010 (only) the month of August will have a Friday the 13th.