List of equally distanced numbers in an interval [a,b] that contains both a and b

I’m writing a program that should split a given interval $ [a,b]$ into a list of $ \sqrt{N}$ equidistant numbers:

N = 27; a = -1; b = 1; p = 3; Range[a, b, RealAbs[b - a]/(N^(1/p) - 1)]  {-1, 0, 1} 

The result should be a list that has $ N^\frac{1}{p}$ numbers, and that contains both $ a$ and $ b$ . The program works when $ N=x^p$ , where $ x$ is an integer, but fails to include $ b$ in the list when this condition is not met.

For example, when $ p=2$ and $ N$ is not a perfect square:

Np = 10; a = -1; b = 1; p = 2;  Range[a, b, RealAbs[b - a]/(Np^(1/p) - 1)] // N  {-1., -0.0750494, 0.849901} 

Is there a way to specify that both ends, $ a$ and $ b$ , should be part of the list, and then equally split the interval into a total of $ \sqrt{N}$ equidistant numbers?

Divide first n square numbers 1^2, 2^2, ……. n^2 into two groups such that absolute difference of the sum of the two groups is minimum [closed]

lets say Given input is n = 6 (n is as large as 100000) My task is to divide {1, 4, 9, 16, 25, 36} into two groups and PRINT these two groups

Possible Solution 1: dividing groups as {1, 9, 36} and {4, 16, 25} which gives abs diff as abs(46 – 45) = 1. So the minimum difference is 1 and the two groups are {1, 9, 36} and {4, 16, 25}

Possible Solution 2: Another Possible Solution is dividing groups as {9, 36} and {1, 4, 16, 25} which gives abs diff as abs(45 – 46) = 1. So the minimum difference is 1 and the two groups are {9, 36} and {1, 4, 16, 25}.

If there are multiple solutions we can print any one. Iam trying to solve it using https://www.geeksforgeeks.org/divide-1-n-two-groups-minimum-sum-difference/ but its not working.

I know that min difference is always 0 or 1 for n >= 6 but how to divide them into two groups.

And can we extend this problem to cubes, fourth powers, so on. if so what is the strategy used

How do I pronounce numbers in game editions?

Most game systems use regular English words for their names. If you don’t know how to pronounce "dungeon" or "dragon", or any other regular word, e.g. Cambridge dictionary is of great help.

Proper nouns are a different story, but, generally, some audio or video exists for popular settings where those words are pronounced as intended by the publisher.

What I am having problems with, though, are numbers. If you want to learn how to pronounce dates, prices, etc. in English, there are thousands of websites where you can do it, and it’s studied as part of all or almost English courses at some point. However, no course that I’ve taken has yet taught me how to pronounce numbers in game editions.

In Russian, the literal translation of how we read "D&D 3.5" is "D&D three point five", and I’ve heard this wording in English, too. But things like "3.5e" or "5e" etc. are ambiguous to me. Not even this rather thorough pronunciation guide has an answer to this problem.

So, how do I pronounce numbers in game system names&versions?

Phone Reverse Lookup – Great Tips on How to Reverse Lookup Phone Numbers and Track Do

In this universe of science and innovation, the men of science invest their energy in research facilities looking for something new. We additionally witness their push to manage natural products. Presently this time, it is an iPhone from the place of Apple that has been pulling in all the considerations worldwide in the course of recent months. 
  Buy Mobile Database 
The device irregularities of US can purchase this iPhone right now. Yet, the individuals of Asian nations like India need to hold up to mid 2008 to lay their hands on such an enchantment development. The telephone has joined screen and consolidates the highlights of a cell phone, ipod, advanced coordinator and remote web gadgets. It is a progressive telephone. It does things that no telephone has ever done previously yet it has likewise been said that it needs includes found even on the most essential telephones. So it has welcomed both praise just as analysis. 
 
iPhone is a small, thin, exquisite hand-held PC whose screen is a piece of touch touchy glass. The $500 and $600 models have 4 and 8 GB stockpiling and can store 825 and 1825 tunes individually. The iphone is assemblage of cellphone, video ipod, email terminal, internet browser, camera, morning timer, palm type coordinator and one hell of superficial point of interest. The telephone is so smooth and slender that makes Treos and Blackberrys look large. At the point when the glass of the telephone get smudgy, a sleeve cleans it off yet it doesn’t scratch without any problem. However, the greatest accomplishment in this telephone is the product accessible. It is quick, excellent, menu free and extremely easy to work. The main physical catch underneath the screen consistently opens the landing page showing the symbols for the iphone’s 16 capacities. Records look with a flick of finger; CD fronts flip over as it is flicked. The clients don’t need to check the phone message yet it itself checks the client. The just one catch press uncovers the holding up messages, recorded like email. There is no dialing in, no secret word. To answer a call, the client can tap answer on the screen, or squeeze the minuscule amplifier. iPhone has a speaker telephone and vibration mode however both are powerless. The music or video playback delays until you hang up. In any case, while making a call, be that as it may, the clients need to follow a protracted procedure containing 6 stages: wake the telephone, open its catches, gather the home screen, open the telephone program, see the ongoing calls or speed dial list and select a name. The call quality is simply normal yet email is fabulous. Approaching messages are completely designed, total with illustrations. The clients even can open Word, Excel and PDF reports however can’t alter. The internet browser is extremely commendable. It has different open pages, textual styles, designs, spring up menus, check boxes, interactive connections and dial-capable telephone number. Everything is finished with the tap of a finger.

ANYDICE – Help with a dice pool showing success against a range of target numbers

I’m having a hard time coding an anydice script to show what I want.

Let me contextualize the mechanic I’m trying to simulate:

You roll a POOL of d10 against a TARGET number. If at least one die from the POOL is equal to or higher than the TARGET, the roll is a success. The count of such dice is the degree of success, but that isn’t my focus at the moment.

I’d like to have a graph for the chances of success of various POOLs of different sizes up to 10 (1d10, 2d10, 3d10…10d10) against different TARGETs from 2 to 10 (2, 3, 4… 10).

The caveat is: I’d like the graph to be layed out in such a way that:

  • the x axis represents the TARGETs;
  • the y axis represents the chances of at least 1 success;
  • each line represents a POOL,

so I can see the chances that each POOL has to succeed against a whole range of TARGETs.

Can any anydice wizard help me with this, please?

IEEE 754 addition wrong result floating point numbers

I want to add two IEEE 754 numbers. I followed the steps to add two 754 numbers. However the result it not correct. Number 1: S:0 E:01111111 M:11111111111111111111111

Number 2: S:0 E:01111111 M:00000000000000000000000

Here is my calculation:

enter image description here

The site http://weitz.de/ieee/ gives this result: S: 0 E: 10000000 M: 10000000000000000000000

in my calculation the mantissa is 01111… Why?

Is it legal for a retailer to share credit card numbers with Nielsen/Billboard (USA)

Lately, in the music world, there is a big uproar over how fans purchase artist’s merchandise. It was set off when rapper 6ix9 accused Ariana Grande of cheating on sales because, as he claims, 60,000 of her merchandise bundle sales were purchased by just 5 credit cards. In reply to that, her manager, music mogul, Scooter Braun replied via Instagram that Billboard audits sales and anything over 4 sales per credit card will be thrown out.

There is a lot of background, but I will keep it brief.

  1. Neilsen (who collects music data on behalf of Billboard via Soundscan) has a point of sale system for brick and mortar physical music seller, but insists that "bundled" sales (music that sells as a download while buying non music merchandise) are handled through a musician’s personal website, with a latest reporting time of Friday afternoon for the prior week’s sales.
  2. Nielsen does impose a maximum of 4 sales of a particular bundled merchandise item per transaction. rules on reporting per shopify Billboard-Nielsen full details (January 2020)
  3. Shopify seems to be the go to site for most musician sites for selling merchandise. https://singlemusic.com/
  4. Shopify claims to report all sales automatically (electronically?) the next day to Neilsen Soundscan.
  5. Most musicians have their merchandise storefronts stop an end user from purchasing more than 4 of an item per transaction, but allows the user to buy more merchandise or song downloads after completing a transaction on the same card.
  6. No shops that I tested stopped a card from being used to purchase the exact same thing again.

That is a lot to unpack, I know, but I will stop here with my questions. As I am not sure who to believe, I am wondering if it is legal to submit the credit card number to Nielsen, a 3rd party? If not, could there have been a mistake in Scooter Braun’s word choice (credit card/transaction)? If credit card numbers are being passed to Billboard, wouldn’t musicians also have their developer code a restriction against reusing the same credit card? I don’t know, something doesn’t quite sync.

Thanks Tas