# Prime Challenge

CODE GOLF & Coding Challenges: In today's challenge, you'll be asked to print the following very special AND tricky AND satisfying Prime Number...! Are you golfers ready?

6779686932717976703238326711110010511010332671049710810810111010310111558327311032116111100971213911532991049710810810111010310144321211111173910810832981013297115107101100321161113211211410511011632116104101321021111081081111191051101033211810111412132115112101991059710832657868321161141059910712132657868321159711610511510212110511010332801141051091013278117109981011144646463332651141013212111111732103111108102101114115321141019710012163



Rules

Your code must not contain any odd decimal digits. So numbers 1,3,5,7,9 (ASCII 49,51,53,55,57) are forbidden.

This is . The shortest code in bytes wins.

You may find this out yourselves. If you don't, I'll tell you next week!

EDIT
Since this challenge is going to close, I will give a hint to my friend @xnor:
The challenge IS the number (this is why it is called "Prime Challenge")

• Whatever is special about this number presumably helps in shortening the code. Once an answer finds out the others can do the same. So I don't see the point in hiding that information in the challenge Aug 19 '20 at 18:31
• I think challenges like this that are partly a puzzle in disguise are both a bad idea for the reasons Luis Mendo said, and likely off-topic for the site.
– xnor
Aug 19 '20 at 19:31
• @J42161217 Right, I think the key difference is that the ternary number is indeed random and has nothing secret up its sleeve. I've seen a number of attempts at challenges that start as basically "solve the puzzle of what pattern I made", and I remember them having been downvoted.
– xnor
Aug 19 '20 at 19:38
• Now that Guiseppe has solved the puzzle and revealed the pattern, I have to say I'm disappointed in the task that remains. Like, perhaps the puzzle was interesting for Guiseppe or anyone who wants to solve it, but for a golfer it's now basically "hardcode/compress this fixed string". It's cool that you found a prime that's produced this way, but it being prime doesn't matter at all for golfing. I was hoping there would be something special mathematically about this prime, but as is, I think the challenge text's emphasis on it being prime makes this even more a chameleon challenge.
– xnor
Aug 19 '20 at 21:23
• @HighlyRadioactive I'd say this is a simple CODE GOLF & Coding Challenges: In today's challenge, you'll be asked to print the following very special AND tricky AND satisfying Prime Number...! Are you golfers ready? compression challenge Aug 20 '20 at 4:12

# R, 195 bytes

(SPOILER IF YOU WANT TO FIGURE IT OUT YOURSELF)

cat(utf8ToInt("CODE GOLF & Coding Challenges: In today's challenge, you'll be asked to print the following very special AND tricky AND satisfying Prime Number...! Are you golfers ready?"),sep="")

Try it online!

Not the golfiest language to use for , but it does the trick.

• Well done! But -sigh- (SPOILER) then the challenge not only hides the pattern; it also tries to mislead the reader with red herrings in the title (the key idea is not related to prime numbers) and in the rules (not being able to use odd digits doesn't add any difficulty) Aug 19 '20 at 21:05

Binary:



Try it online!

# Bash, 237 bytes

s="CODE GOLF & Coding Challenges: In today's challenge, you'll be asked to print the following very special AND tricky AND satisfying Prime Number...! Are you golfers ready?";o=o
for((i=0;i<${#s};i++));do printf %d \'"${s:$i:${#o}}";done

Try it online!

# 05AB1E, 121 bytes

'€ƒuð.ø’CODE GOLF & Cod±µ Cí¤ÁÛ¡¾: In ƒÜ's ›Ý, €î'½ž €ï ‹Ð €„ …¢ €€ „— ‚Ò ƒÑÿÐËyÿËØ±µ PØ†e NuîÐ²¡...! A‚™ €î Šˆ²¡s Žä?’ÇJ

Try it online!

'€ƒuð.ø’...’ÇJ  # trimmed program
'€ƒ             # push "and"...
u            # uppercase...
.ø         # surrounded by...
ð           # spaces
# (ÿ in the long compressed string gets implicitly replaced with this)
J  # join...
Ç   # charcodes of...
’...’    # "CODE GOLF & Coding Challenges: In today's challenge, you'll be asked to print the following very special AND tricky AND satisfying Prime Number...! Are you golfers ready?"
# implicit output

The hardest part of this wasn't writing the code, it was trying to get the Markdown to work.

# Perl 5, 190 bytes

say"CODE GOLF & Coding Challenges: In today's challenge, you'll be asked to print the following very special AND tricky AND satisfying Prime Number...! Are you golfers ready?"=~s/./ord\$&/ger

Try it online!

# Vyxal, 108 bytes

¬⋎ »₅⇧ & ⟩₆ →ṗ: In ¬¾'s ɾṖ, λ•'ll be •₇ to ⟑Ẇ λλ ∧ṫ ƛ² ¬∪ AND ¦Ṡy AND ¶⊍ing ʁ꘍ ƛṅ...! λ∆ λ• »₅ers €æ?+Cṅ Needed to optimize the string little to compress it well

Try it Online!