¿Qué es una Primera Palabra™?

Oct 05 2020

Esto está en el espíritu de la serie What is a Word/Phrase™ iniciada por JLee con una marca especial de rompecabezas Phrase™ y Word™ .


Si una palabra se ajusta a una regla especial, la llamo First Word™ .
Usa los siguientes ejemplos para encontrar la regla.

$$ % \def\Pad{\P{0.0}} \def\Title{\textbf{ First }} % \def\S#1#2{\Space{#1}{20px}{#2px}}\def\P#1{\V{#1em}}\def\V#1{\S{#1}{9}} \def\T{\Title\textbf{Words}^{\;\!™}\Pad}\def\NT{\Pad\textbf{Not}\T\ } \smash{\lower{29px}\bbox[lightblue]{\phantom{\rlap{rubio.2019.05.15}\S{6px}{0} \begin{array}{cc}\Pad\T&\NT\\\end{array}}}}\atop\def\V#1{\S{#1}{5}} \begin{array}{|c|c|}\hline\Pad\T&\NT\\\hline % \text{ first}&\text{ third}\\ \hline \text{ saturn}&\text{jupiter}\\ \hline \text{ dog}&\text{turtle}\\ \hline \text{ put}&\text{out}\\ \hline \text{ washington}&\text{paris}\\ \hline \text{ red}&\text{black}\\ \hline \text{ thought}&\text{ though}\\ \hline \text{ cork}&\text{ cook}\\ \hline \text{ conundrum}&\text{ puzzle}\\ \hline \text{ astonishment}&\text{ surprise}\\ \hline \text{ bar}&\text{foo}\\ \hline \text{ invalid}&\text{valid}\\ \hline \text{ auto}&\text{mobile}\\ \hline \text{ plot}&\text{agitates}\\ \hline \hline \end{array}$$

Versión CSV:

First Words™,   Not First Words™

first,          third
saturn,         jupiter
dog,            turtle
put,            out
washington,     paris
red,            black
thought,        though
cork,           cook
conundrum,      puzzle
astonishment,   surprise
bar,            foo
invalid,        valid
auto,           mobile
plot,           agitates

¿Cuál es la regla especial a la que se ajustan estas palabras?


Insinuación:

Trivialmente, pizza , manzana , macarrones , burrito , tofu no son primeras palabras. Sin embargo, la cerveza es una. ¿Porqué es eso?

Respuestas

6 PaulPanzer Oct 06 2020 at 12:51

Actualización: Lo tengo por fin:

primero = primo

Escribe 1 para consonantes y 0 para vocales, lee como número binario y verifica si el resultado es primo.