Showing posts with label project euler. Show all posts
Showing posts with label project euler. Show all posts

Wednesday, 4 March 2009

Thing 82 Complete!

82. Solve twenty-five of the problems on Project Euler. (25/25) - done! 4/3/2009

Very pleased with this, feels good to get something else accomplished. So many of my goals are things that I have to chip away at - read 101 books, write 101 pieces of flash fiction - it feels good to have done this and for it to be done. It doesn't mean that I won't be doing any more of the problems, but I can put them to one side for the moment while I concentrate on other things.

The thing that has come out of working on this and on Thing 62 is that it has made me realise just how much I miss doing maths as part of my regular routine, as part of my life. I've been enjoying what I've been doing in terms of work recently, but lately it's come to me just how important maths was - and is - to me. So I need to start thinking long term about how I can make it part of my day-to-day life again, or how I can work that into my long term career goals.

But that's a thought for another day! Thing 82 - done!

Project Euler, Problems 10 and 17

Problem 10
Calculate the sum of all the primes below two million.

I was thinking about this for quite a while; it's extremely simple to write something which checks if a number is prime or not, and it's just as simple to put together a loop to check all of the primes below two million (start with 3, go for all the odd numbers up to 1999999, add the contribution of 2 at the end). The problem is actually summing all of that, because the basic C++ construction can't handle it with simple integers (which is pretty much all I can do at the minute!).

Then, late last night I had my idea: check what the limit is for integers, and then have it sum up to somewhere just below that limit, then output the sum and start from 0 and keep going, summing and outputting all the way up to two million. This gave somewhere in the region of seventy 10-digit numbers. Ouch! Except I could then copy the output, import it into OpenOffice Calc and get that to sum them all. Problem solved.

Problem 17
If the numbers 1 to 5 are written out in words: one, two, three, four, five, then there are 3 + 3 + 5 + 4 + 4 = 19 letters used in total. If all the numbers from 1 to 1000 (one thousand) inclusive were written out in words, how many letters would be used?

NOTE: Do not count spaces or hyphens. For example, 342 (three hundred and forty-two) contains 23 letters and 115 (one hundred and fifteen) contains 20 letters. The use of "and" when writing out numbers is in compliance with British usage.

For a little while I thought - for some reason, I don't know - that this was much more difficult than it actually is. It's quite easy. Work out the number of letters used to write the numbers one to nine, and then ten to nineteen. Now, for twenty to twenty-nine the total letters are going to be 6*10 (for all of the "twenty"s) plus the total letters for writing the numbers one to nine. Repeat for thirty through to ninety-nine, take the total and you have the number of letters for one through to ninety-nine.

Then, for example, from one hundred to one hundred and ninety nine we have 100*10 (for all of the "one hundred"s) plus 99*3 (for all of the "and"s) plus the total letters for one to ninety-nine. Repeat for all of the other hundreds, and add 11 at the end for "one thousand". I thought this was so much more difficult than it was, but after the idea came to me it took me about twenty minutes with pencil and two small pieces of notepaper, all worked out by hand.

*

And that my friends, is twenty-five problems done for Project Euler. Blog post on completing Thing 82 to follow!

Tuesday, 3 March 2009

Project Euler, Problems 11 and 30

Problem 11
In the 20×20 grid below, four numbers along a diagonal line have been marked in red.

08 02 22 97 38 15 00 40 00 75 04 05 07 78 52 12 50 77 91 08
49 49 99 40 17 81 18 57 60 87 17 40 98 43 69 48 04 56 62 00
81 49 31 73 55 79 14 29 93 71 40 67 53 88 30 03 49 13 36 65
52 70 95 23 04 60 11 42 69 24 68 56 01 32 56 71 37 02 36 91
22 31 16 71 51 67 63 89 41 92 36 54 22 40 40 28 66 33 13 80
24 47 32 60 99 03 45 02 44 75 33 53 78 36 84 20 35 17 12 50
32 98 81 28 64 23 67 10 26 38 40 67 59 54 70 66 18 38 64 70
67 26 20 68 02 62 12 20 95 63 94 39 63 08 40 91 66 49 94 21
24 55 58 05 66 73 99 26 97 17 78 78 96 83 14 88 34 89 63 72
21 36 23 09 75 00 76 44 20 45 35 14 00 61 33 97 34 31 33 95
78 17 53 28 22 75 31 67 15 94 03 80 04 62 16 14 09 53 56 92
16 39 05 42 96 35 31 47 55 58 88 24 00 17 54 24 36 29 85 57
86 56 00 48 35 71 89 07 05 44 44 37 44 60 21 58 51 54 17 58
19 80 81 68 05 94 47 69 28 73 92 13 86 52 17 77 04 89 55 40
04 52 08 83 97 35 99 16 07 97 57 32 16 26 26 79 33 27 98 66
88 36 68 87 57 62 20 72 03 46 33 67 46 55 12 32 63 93 53 69
04 42 16 73 38 25 39 11 24 94 72 18 08 46 29 32 40 62 76 36
20 69 36 41 72 30 23 88 34 62 99 69 82 67 59 85 74 04 36 16
20 73 35 29 78 31 90 01 74 31 49 71 48 86 81 16 23 57 05 54
01 70 54 71 83 51 54 69 16 92 33 48 61 43 52 01 89 19 67 48

The product of these numbers is 26 × 63 × 78 × 14 = 1788696. What is the greatest product of four adjacent numbers in any direction (up, down, left, right, or diagonally) in the 20×20 grid?

I thought for a while about whether or not I should approach this one, whether it would be something that could be done in a reasonable amount of time. I also struggled with how I could do it simply with my limited amount of C++.

Eventually I decided that the best thing to do would be to do it myself - after all, there were only 400 entries in the grid. The simple thing with this was to cross out numbers as they became irrelevant. Initially my criteria were for just plain low numbers, anything below 10. Then, as I found a sequence of four numbers which produced a higher value, z, than the previous high, it hit me that I should find the largest number x such that the cube root of z/x was greater than 99. That way, I would then be free to remove every number less than x which remained in the grid. As numbers were blanked out, opportunities to "connect four" were reduced, and new sequences became apparent. This gave a new high z, and a new x, and so on. This approach probably took around 40 minutes to give the correct answer, much less time than it would have taken for me to program something to search the grid in C++ (had I even known how to encode the grid).

Problem 30
Surprisingly there are only three numbers that can be written as the sum of fourth powers of their digits:

1634 = 1^(4) + 6^(4) + 3^(4) + 4^(4)
8208 = 8^(4) + 2^(4) + 0^(4) + 8^(4)
9474 = 9^(4) + 4^(4) + 7^(4) + 4^(4)

As 1 = 1^(4) is not a sum it is not included. The sum of these numbers is 1634 + 8208 + 9474 = 19316. Find the sum of all the numbers that can be written as the sum of fifth powers of their digits.

Following the previous problem that I solved which involved the sum of factorials of digits this was quite straightforward to solve. With a little bit of thought looking at multiples of 9^5 I was able to establish quite quickly what an upper bound would be; then I simply adapted the routine I'd used previously, and it arrived at the correct answer in next to no time.

*

Two to go!!! Maybe by the end of this week? Keep your fingers crossed.

Saturday, 28 February 2009

Project Euler, Problems 34 and 39

Two more problems solved!

Problem 34
145 is a curious number, as 1! + 4! + 5! = 1 + 24 + 120 = 145. Find the sum of all numbers which are equal to the sum of the factorial of their digits.

This was pretty straightforward. When we consider that 9! = 362880 we only have to do a few sums to get an upper bound on the numbers that we must consider. Then it is a simple case of putting together a loop which gets the digits of a number, sums the factorials of the digits and compares it with the number. There is a similar problem which I hope to have coded a routine for by the end of the weekend involving fifth powers of digits.

Problem 39
If p is the perimeter of a right angle triangle with integral length sides, {a,b,c}, there are exactly three solutions for p = 120 - {20,48,52}, {24,45,51}, {30,40,50}. For which value of p ≤ 1000, is the number of solutions maximised?

I solved a similar problem to this a few days ago; this was a bigger problem because of searching through a large set of perimeters. However, with a bit more maths it wasn't difficult to get conditions to impose and then search through - for example, we can deduce with only a little work that p/3 < c < p/2 and that p must be a divisor of 2ab. The program took no time at all to find the p which had the most solutions (incidentally, the perimeter value found had 8 solutions!).

So that leaves... Four problems to solve? Really? Am I actually that close to finishing another one of my 101 things?!

Thursday, 26 February 2009

Project Euler, Problems 9 and 28

I was just thinking the other day that I hadn't done any Project Euler problems in a while, and having a look down the list of problems a few jumped out at me as "do-able". Both of these required very little computing - in fact I did the second mentioned here with just a calculator once I had done some thinking.

(as a side note, I've also been working on thing number 62, to find the number of stacked 4-tangles; I've proved a few things which my previous assumptions had relied on, made it more concrete, and am at the point where I need to use a Maple program in order to find things and split things up. Not quite there in my C++ knowledge in order to be able to do that!)

Problem 9
Find the only Pythagorean triplet {a,b,c} such that a + b + c = 1000.

From this we can take a few bits of information:

  • a^2 + b^2 = c^2
  • a + b + c = 1000
  • a < b < c and a, b, c are all positive integers
By manipulating the two first lines there, we can arrive at the expression
  • ab = 1000(500 - c)
This is a good line to get to! It tells us that c is less than 500 and that the product of a and b is divisible by 1000. Also, as a < b < c < 500 we can deduce that 334 < c < 500. These conditions, combined with the main Pythagorean triple condition, are enough to impose a range of conditions for a simple search in C++, in order that we arrive at the answer.

Problem 28
Starting with the number 1 and moving to the right in a clockwise direction a 5 by 5 spiral is formed as follows: (looks better on Project Euler site, here)

21 22 23 24 25
20 7 8 9 10
19 6 1 2 11
18 5 4 3 12
17 16 15 14 13

It can be verified that the sum of both diagonals is 101. What is the sum of both diagonals in a 1001 by 1001 spiral formed in the same way?

I didn't need C++ to solve this. I extended the spiral out to 7 by 7, so I could get a better feel for the numbers in the diagonals. I split them up, and obtained (in the end) three sequences of numbers. From these I arrived at three quadratic relations that you could get the three sequences from, and then by summing the series I got the answer. Simple really - big numbers though!

This takes my total to 19 now, six more to go. I have a list of a few that I might try next. I was originally aiming to get my 25 done by the end of February. I'm now aiming for the end of March, and also hoping to get thing 62 done by then as well (or at least, to have the answer and be writing it out from all of my rough notes).

Wednesday, 4 February 2009

Project Euler, Problem 27

Had a bit of a slump in doing these, as I had more or less reached the limit of what I could do with the skills that I had in C++. Then had a look back through the notes that I made about the problems that I was looking at, and noticed that there was one which I could probably work on further.

Problem 27
Euler published the remarkable quadratic formula n^2 + n + 41. It turns out that the formula will produce 40 primes for the consecutive values n = 0 to 39.
Using computers, the incredible formula n^2 − 79n + 1601 was discovered, which produces 80 primes for the consecutive values n = 0 to 79. The product of the coefficients, −79 and 1601, is −126479.
Considering quadratics of the form:
n^2 + an + b, where |a| <>
find the product of the coefficients, a and b, for the quadratic expression that produces the maximum number of primes for consecutive values of n, starting with n = 0.

There's a lot of possible quadratic expressions to be considered for this, but a bit of thought soon lets you realise that b has to be positive, and has to be a prime. I had a reasonable suspicion as well that the magnitude of a has to be smaller than b, but I didn't put that in the routine that I put together.

After this it was just a case of putting something together that would check and see if the various expressions produced primes. I decided that putting in lots of loops and checks to find the expression that produced the longest sequence of primes was going to be quite time-consuming, so I started generating if statements to weed out those expressions which would be more likely to be the right answer (basically by looking at what elements generated primes for various values of n). Analysing the few that remained from this gave me the final answer.

Again, this one wasn't the most elegant solution, but it felt good to be using my analytical skills to do it rather than just brute-forcing something without any consideration.

Onwards and upwards!

Sunday, 18 January 2009

Project Euler, Problems 12 and 21

The two problems that I've worked on most recently have both involved divisors of numbers; this meant that I first wrote a few small subroutines to do with divisors, calculating the number of divisors or the sum of the proper divisors of an integer. This wasn't too bad, but I really think that I am approaching the limits of the kinds of problems that I can tackle with my current level of C++ knowledge.

C++ can only handle numbers up to just over 4 billion, and some of the problems that I will probably have to check soon will be much larger than that. I know how to tackle them but for the fact that C++ cannot cope with numbers entered in that natural manner. Been thinking a bit about how to set up a new class of input, where larger numbers could be handled. At the end of the day, we're just thinking about a string of characters, and how to do operations on them. I've seen a couple of things recently that give me some ideas on how I might set up something like that.

On to the problems...

Problem 12
The sequence of triangle numbers is generated by adding the natural numbers. So the 7th triangle number would be 1 + 2 + 3 + 4 + 5 + 6 + 7 = 28. 28 is the first triangle number to have over five divisors. What is the value of the first triangle number to have over five hundred divisors?

Wrote a script that could count the number of divisors of an integer, then started a loop through something generating the triangle numbers, checking the number of divisors. It took a while, but when it found it gave me the output to tell me what the answer was. It took quite a long time!

Problem 21
Let d(n) be defined as the sum of proper divisors of n (numbers less than n which divide evenly into n). If d(a) = b and d(b) = a, where a is not equal to b, then a and b are an amicable pair and each of a and b are called amicable numbers. For example, the proper divisors of 220 are 1, 2, 4, 5, 10, 11, 20, 22, 44, 55 and 110; therefore d(220) = 284. The proper divisors of 284 are 1, 2, 4, 71 and 142; so d(284) = 220. Evaluate the sum of all the amicable numbers under 10000.

This was straightforward given the previous routine for calculating the number of divisors of a number; we use the same criteria for evaluating if one number is a divisor of another, and so we summed all of those. Then, we calculate the sum of the proper divisors of a number, a, and then check if the sum of the proper divisors of that number is equal to a. If the sum of the proper divisors of a is different from a itself then we have found a number which is part of an amicable pair.

Looping through the numbers 2 to 10000 and summing all of the positive results that we find gives the answer.

*

Sixteen out of twenty-five. Not bad considering that most of those have been done in the last few weeks. The next small subroutine project I need to do is figure out how to generate a list of prime factors of a number; I'll also have a crack at the large number string stuff that I mentioned at the start of this post. With a bit of luck and work, I think I might have cracked another nine by the end of February!

Thursday, 15 January 2009

Project Euler, Problems 33 and 37

Another two problems solved; I wish I could say that I simply sat down and thought of an efficient algorithm first go, but that's really not the case. With the first of those I've mentioned today I basically got two of them just by thinking. The final one came about basically because I finally put enough restrictions on things to force out a small number of choices to manually inspect.

It's a victory... Maybe not a noble win, but still. Onwards and upwards! Eleven more to go...

The second of the two that I've written a bit about here was a bit easier, it was basically just coding something and then sitting back to let it run.

Problem 33
The fraction 49/98 is a curious fraction, as an inexperienced mathematician in attempting to simplify it may incorrectly believe that 49/98 = 4/8, which is correct, is obtained by cancelling the 9s. We shall consider fractions like, 30/50 = 3/5, to be trivial examples. There are exactly four non-trivial examples of this type of fraction, less than one in value, and containing two digits in the numerator and denominator.

So, for this puzzle it was effectively a case of searching through a series of pairs of numbers for certain conditions. First of all run through numbers a from 11 to 98, and for each of these go through numbers b from a+1 to 99. We consider fractions a divided by b (as this guarantees that the fraction will be less than 1). Eliminate any where a or b is divisible by 10. Sort out the pairs such that we have numbers which are coprime (that is, they share no common factors) and so that they have at least one digit the same.

I created two subroutines for this: the first checked if two numbers were coprime, and the second figured out the biggest common factor of two non-coprime numbers. This made simplifying things easier, and helped to exclude lots of cases. It would have been a little tricky (due to the depth of my knowledge of C++) to just create a routine which found the four things that we wanted, and so I just basically kept adding conditions and narrowing the number of pairs of numbers down and down until there were sufficiently few that I could look over them.

Problem 37
The number 3797 has an interesting property. Being prime itself, it is possible to continuously remove digits from left to right, and remain prime at each stage: 3797, 797, 97, and 7. Similarly we can work from right to left: 3797, 379, 37, and 3. Find the sum of the only eleven primes that are both truncatable from left to right and right to left. NOTE: 2, 3, 5, and 7 are not considered to be truncatable primes.

This was quite straightforward really, it just took a bit of programming to sort through the possibilities; as the number of digits grows the number of things that have to be considered increases too. It just took a little time, and I gradually increased the number of digits. The largest had six digits, and it took a while to search through (of course, I wasn't searching through every six digit number, only the odd ones, and excluded any which a 0 digit in the middle, or started with 4,6,8 or 9) and consider all of the extra little cases.

The thing which I'm still thinking about with this, is from the set up in the question: "Find the sum of the only eleven primes that are both truncatable from left to right and right to left." So there are only eleven primes that satisfy this, huh? I wonder how we can prove that those are the only ones? My program has shown that there are only eleven primes satisfying that condition up to one million... Why are there none beyond that?

Monday, 12 January 2009

Project Euler, Problems 4, 15 and 35

Do I have a life? Apparently not... Over the weekend and then this morning I spent some time working on some more problems with Project Euler. Saturday and Sunday were pretty quiet days all in all I suppose, and am still waiting to hear about a new work project. May as well spend the time learning a bit of C++ and keeping my mind active.

Problem 4
Find the largest palindromic number that results from multiplying two 3-digit numbers together. This was quite straightforward; iterating for the two 3-digit factors it just meant I had to write a couple of very short scripts that could recognise palindromic numbers. This meant making two slightly different routines, one for 5-digit numbers and one for 6-digit numbers.
After that it was just making sure that the largest number was carried out as a result.

Problem 15
Starting in the top left corner of a 2×2 grid, there are 6 routes (without backtracking) to the bottom right corner. How many routes are there through a 20×20 grid? There's a picture here to show what the routes are through the 2x2 grid if you can't picture what the question means. This didn't require a program, just a little thought back to some combinatorics that I did at uni. The numbers were pretty big, too big for the computer's calculator at first; a bit of pencil and paper cancelling of factors got me there soon enough.

Problem 35
How many circular primes are there below one million? Go here to see what is meant by the term circular prime. This took a little time to arrive at an algorithmic solution. I started off by thinking in terms of the restrictions that are placed on a number if it is a circular prime. Once we move out of single digits the only digits that can be in a number are 1, 3, 7 and 9, which limits greatly the number of numbers that we would have to consider.

However, my understanding of how to permute things in C++ is not quite there yet (I could do it with no problem in Maple). In the end I went with a brute force approach: tell the program to consider the number and the circular numbers that result. Then if all of these are prime then add 1 to the total.

Inelegant if I'm honest, but it did the job.

This now takes the total to twelve! Am slightly amazed by how many I've done since the New Year. Here's hoping that I am picking up enough C++ basics for when I start to work on harder projects. Thirteen to go...

Saturday, 10 January 2009

Project Euler, Problems 7 and 41

I put together a simple program in C++ that checks out whether or not a number is prime, i.e., whether or not it has any factors besides itself and 1. It was eventually writing a separate thing for this that helped me out, as despite what I'd learned in the past I was trying to make one program to do everything that was needed for the actual problem. Bad idea. Things are so much simpler if you break things up into their component parts...

Problem 7
Find the 10001st prime number. Once I had the program for checking whether or not a number is prime this was quite straightforward. I started off with knowing that 2 is the 1st prime number, and then working through all of the odd numbers after that and adding one to the tally every time that I found one.

Problem 41
What is the largest n-digit pandigital prime that exists? This was a little trickier, but not much more. It just took a bit of thinking. Firstly, what is a pandigital number? Well, a 5-digit pandigital number is, for example, 34251, a number which contains the first five digits once and once only. A 4-digit pandigital would be 4123 or 1234 or 3142, and so on. After a little thought, it occured to me that there cannot be 8- or 9-digit pandigital primes (if you're reading this Matt, do you know how/why that occurred to me?) and that the largest possible would be a 7-digit pandigital number, i.e., one that contained all the digits from one to seven.

It was then straightforward to think that it was most sensible to start searching from the extreme end of the numbers, 7654321, and to put conditions on the numbers; one only wants to check without 8, 9 or 0 in, one doesn't want duplicates of digits... Once I'd written those conditions in to the program, it was fine.

This takes my total of problems solved to nine. Sixteen to go. Might get one more done this weekend. It's good to keep thinking, and it also gives me a chance to keep learning bits and pieces of C++.

Keep learning people, it's the thing to do!

Tuesday, 6 January 2009

Project Euler, Problem 79

I decided to take another look at some of the problems over on Project Euler, and number 79 jumped out at me yesterday evening when I saw it. Within about ten minutes I had an approach, and in less than ten minutes after that I had a solution. No explicit calculations or anything like that required, just a bit of logical thought.

Here's the problem as stated:

"A common security method used for online banking is to ask the user for three random characters from a passcode. For example, if the passcode was 531278, they may asked for the 2nd, 3rd, and 5th characters; the expected reply would be: 317.

The text file, keylog.txt, contains fifty successful login attempts.

Given that the three characters are always asked for in order, analyse the file so as to determine the shortest possible secret passcode of unknown length."

Now, I'm not going to go into all the details of it, but my approach was as follows: delete any duplicates, they won't tell you anything new; since none of the entries contain multiple copies of digits and we're looking for the shortest possible passcode, assume that there is only one instance of a digit in the code; then simply look, it's not that hard after that to deduce what the correct answer is.

This takes my total of completed problems on Project Euler to seven. Only another eighteen to go, and I think I've about reached my limit of problems that can be solved with pen and paper or by inspection. There are several others I've made inroads on by considering what the problem is actually asking, but they'll all require some computer assistance and practice of C++.

Which is cool!

Thursday, 25 September 2008

Project Euler

So I've made a good start so far on thing number 82, solving 25 problems on Project Euler. From the site:

Project Euler is a series of challenging mathematical/computer programming problems that will require more than just mathematical insights to solve. Although mathematics will help you arrive at elegant and efficient methods, the use of a computer and programming skills will be required to solve most problems.

I've solved six of the problems so far, and while I'm not going to go into huge detail on how I did them, I thought I would list the ones I've solved and say a few words on how I did it.

(you know, so you know I'm not just cheating or anything)

Problem 1: Add all the natural numbers below one thousand that are multiples of 3 or 5.
This was quite straight forward, there are simple formulas for adding sums of numbers. We simply take add the formulas for sums of multiples of 3 or 5 and subtract the sum of numbers which are multiples of 15.

Problem 2: Find the sum of all the even-valued terms in the Fibonacci sequence which do not exceed four million.
I did this with a simple program I wrote. It's easy to write out the steps by hand, the problem here is in the number of steps involved. A simple C++ program solved it.

Problem 5: What is the smallest number divisible by each of the numbers 1 to 20?
This just took a little bit of thought, no computing involved.

Problem 6: What is the difference between the sum of the squares and the square of the sums, for the numbers from 1 to 100?
Again, there are formulas for these, I just had to look them up.

Problem 8: Discover the largest product of five consecutive digits in the 1000-digit number.
For this one the site gives you a 1000 digit number; I did think about trying to test the basic C++ skills I have to read through it and find the requisite place, but in the end it was easier to do it by observation than mess around with C++. (note: this is not a good idea in general, the "by inspection" approach does not scale well!)

Problem 20: Find the sum of digits in 100!
This was simple, although I will talk about how I would do it differently now that I've thought about it. I found a website which would calculate 1 times 2 times 3 times...times 100, and then just summed the digits.

Now, C++ only allows operations on integers up to a certain amount (around four billion). 100! has a lot more digits than that; I've thought about it since, and figured out how I can create a "big number calculator" for C++. I'm sure someone else must have done it before, and I only have it in principle in my head so far, but I'm reasonably confident that I can create it soon.

Six down, nineteen to go!

Friday, 29 August 2008

Substitution

Over four months in now, and I've decided to make my first substitution; it dawned on me that I hadn't been using a monthly face mask since the first month (although you will be glad to hear that I use a moisturising face scrub at least every other day), and it didn't feel quite right that this was going to be something that I couldn't make up.

So I've substituted "Solve twenty-five of the problems on Project Euler" for number 82, which was previously the monthly face mask. Project Euler is a site that posts challenging maths and computing puzzles, and there are over two hundred of them now. I think this is a challenge that will really appeal, as some of the puzzles do have "brute force" solutions - such as number 6, the one that I am considering first - i.e., you could solve it with a program that would obtain the answer through simply performing the required operations, but there is always the probability that there is a more elegant solution. With a bit of careful thought one should be able to find the answer...

I'm going to try and solve the first ten problems, and then see which other fifteen take my fancy.

More soon on other things!