Here is the cognitive dissonance. More and more Alaskans, particularly of the Republican stripe, identify the federal government and pork-barrel spending as the enemy, although Alaska was built by both.

Alaska’s appetite for federal dollars has always been voracious and is not confined to the stimulus. A study by Prof. Scott Goldsmith of the University of Alaska, Anchorage, noted that an “extraordinary increase” in federal spending drove the state’s pile-driver growth of the last 15 years.

In 1996, federal spending in Alaska was 38 percent above the national average. Thanks to the late Republican Senator Ted Stevens, who was Senate appropriations chief for several years, and to the military, which keeps expanding its bases here, Alaska’s share now is 71 percent higher than the national average.

Some of this owes to the expense of serving Alaska’s rural reaches. But much is bred in the bone. The federal government carved this young state out of the northern wilderness, and officials here learn to manipulate federal budget levers at a tender age.

Still, many see strings attached. Lynn Gattis, a Republican Party official, lives by a lake in Wasilla, surrounded by aspens. She is a sourdough Alaskan, meaning she was born here, and she is a pilot, which means she threads her way around those cloud-hugging peaks. She knows that the federal government paid for the port of Anchorage and the highway that leads to Wasilla allowed Target and Sports Authority to take root.

But she sees a government that delays oil exploration, as President Obama did recently; that regulates timber and salmon harvests and hydropower; and that, in her view, cares more about polar bears than about Alaskans. (The government lists as endangered the beluga whales of Cook Inlet, a vast gray expanse that stretches out from Anchorage. Some Alaskans argue that this could stall construction of a multimillion-dollar bridge, which as it happens would be paid for by the federal government.)

“It just feels like the federal government intrudes everywhere,” Ms. Gattis said. “Enough Ivy League lawyers  let’s get people who can dig a mine and run a business.”