How to resolve the algorithm Penta-power prime seeds step by step in the J programming language
Published on 12 May 2024 09:40 PM
How to resolve the algorithm Penta-power prime seeds step by step in the J programming language
Table of Contents
Problem Statement
Generate the sequence of penta-power prime seeds: positive integers n such that:
I can find no mention or record of this sequence anywhere. Perhaps I've invented it.
Let's start with the solution:
Step by Step solution about How to resolve the algorithm Penta-power prime seeds step by step in the J programming language
Source code in the j programming language
ps=. ] #~ 1 p: 1 + ^~ + ]
_10 ]\ 4x ps 3x ps 2 ps 1 ps 0 ps i. 1520000
1 5 69 1665 2129 25739 29631 62321 77685 80535
82655 126489 207285 211091 234359 256719 366675 407945 414099 628859
644399 770531 781109 782781 923405 1121189 1158975 1483691 1490475 1512321
You may also check:How to resolve the algorithm RPG attributes generator step by step in the Go programming language
You may also check:How to resolve the algorithm Array length step by step in the Pike programming language
You may also check:How to resolve the algorithm Modular exponentiation step by step in the ALGOL 68 programming language
You may also check:How to resolve the algorithm Natural sorting step by step in the zkl programming language
You may also check:How to resolve the algorithm Bitmap/Histogram step by step in the Forth programming language