Hello folks...a newbie question here,
Looking at the following three examples, would you please
explain the criteria for placing the "&" when using an
anonymous function:
2^(#) +1 &
Select[Range[1000],PrimeQ[2^(#)+1]&]
Select[Range[500], PrimeQ[FromDigits[Table[1, {#}]]] &]
Why is the "&" getting further away from the function's body?
Thank you
ziloo