The remaining calories in the keto diet come from protein — about 1 gram (g) per kilogram of body weight, so a 140-pound woman would need about 64 g of protein total. As for carbs: “Every body is different, but most people maintain ketosis with between 20 and 50 g of net carbs per day,” says Mattinson. Total carbohydrates minus fiber equals net carbs, she explains.
Those studies above, in working with small sample sizes, and different types of fasting than recommended here, would lead me to believe that fasting affects men and women differently, and that many of the weight loss benefits associated with intermittent fasting (that affect insulin and glucose responses) work positively for men and negatively for women.
The first modern study of fasting as a treatment for epilepsy was in France in 1911.[12] Twenty epilepsy patients of all ages were "detoxified" by consuming a low-calorie vegetarian diet, combined with periods of fasting and purging. Two benefited enormously, but most failed to maintain compliance with the imposed restrictions. The diet improved the patients' mental capabilities, in contrast to their medication, potassium bromide, which dulled the mind.[13]

Lots of apps and websites offer keto diet challenges—basically, a blueprint for the keto diet with a fixed starting and ending point (they typically last for a week to a month, though some may be longer). Speaking of apps, plenty of keto-centric ones are right at your fingertips (a.k.a., your smartphone), like the KetoDiet app, which can help you calculate your macros and track your keto diet effectively.

In the 1960s, medium-chain triglycerides (MCTs) were found to produce more ketone bodies per unit of energy than normal dietary fats (which are mostly long-chain triglycerides).[15] MCTs are more efficiently absorbed and are rapidly transported to the liver via the hepatic portal system rather than the lymphatic system.[16] The severe carbohydrate restrictions of the classic ketogenic diet made it difficult for parents to produce palatable meals that their children would tolerate. In 1971, Peter Huttenlocher devised a ketogenic diet where about 60% of the calories came from the MCT oil, and this allowed more protein and up to three times as much carbohydrate as the classic ketogenic diet. The oil was mixed with at least twice its volume of skimmed milk, chilled, and sipped during the meal or incorporated into food. He tested it on 12 children and adolescents with intractable seizures. Most children improved in both seizure control and alertness, results that were similar to the classic ketogenic diet. Gastrointestinal upset was a problem, which led one patient to abandon the diet, but meals were easier to prepare and better accepted by the children.[15] The MCT diet replaced the classic ketogenic diet in many hospitals, though some devised diets that were a combination of the two.[10]

For patients who benefit, half achieve a seizure reduction within five days (if the diet starts with an initial fast of one to two days), three-quarters achieve a reduction within two weeks, and 90% achieve a reduction within 23 days. If the diet does not begin with a fast, the time for half of the patients to achieve an improvement is longer (two weeks), but the long-term seizure reduction rates are unaffected.[44] Parents are encouraged to persist with the diet for at least three months before any final consideration is made regarding efficacy.[9]
In many developing countries, the ketogenic diet is expensive because dairy fats and meat are more expensive than grain, fruit and vegetables. The modified Atkins diet has been proposed as a lower-cost alternative for those countries; the slightly more expensive food bill can be offset by a reduction in pharmaceutical costs if the diet is successful. The modified Atkins diet is less complex to explain and prepare and requires less support from a dietitian.[55]