Rosettacode tasks in Perl 6
CtrlK
  • Introduction
  • Programming tasks
    • 1
    • 2
    • 4
    • 9
    • A
    • B
    • C
    • D
    • E
    • F
    • G
    • H
    • I
    • J
    • K
    • L
    • M
    • N
    • O
    • P
      • P-Adic numbers basic
      • P-value correction
      • Padovan n-step number sequences
      • Padovan sequence
      • Pairs with common factors
      • Palindrome dates
      • Palindrome detection
      • Palindromic gapful numbers
      • Palindromic primes
      • Palindromic primes in base 16
      • Pan base non-primes
      • Pancake numbers
      • Pandigital prime
      • Pangram checker
      • Paraffins
      • Parallel brute force
      • Parallel calculations
      • Parameterized SQL statement
      • Parametric polymorphism
      • Parse an IP Address
      • Parse command-line arguments
      • Parse EBNF
      • Parsing
      • Partial function application
      • Particle fountain
      • Particle swarm optimization
      • Partition an integer x into n primes
      • Partition function P
      • Pascal's triangle
      • Pascal matrix generation
      • Password generator
      • Pathological floating point problems
      • Peaceful chess queen armies
      • Peano curve
      • Pell's equation
      • Pell numbers
      • Penholodigital squares
      • Penney's game
      • Penrose tiling
      • Penta-power prime seeds
      • Pentagram
      • Pentomino tiling
      • Percentage difference between images
      • Perceptron
      • Percolation
      • Perfect numbers
      • Perfect shuffle
      • Perfect totient numbers
      • Periodic table
      • Peripheral drift illusion
      • Perlin noise
      • Permutation test
      • Permutations
      • Permutations by swapping
      • Permutations with repetitions
      • Permutations with some identical elements
      • Permuted multiples
      • Pernicious numbers
      • Phrase reversals
      • Pi
      • Pick random element
      • Pierpont primes
      • Pig the dice game
      • Pinstripe
      • Piprimes
      • Pisano period
      • Plasma effect
      • Playfair cipher
      • Playing cards
      • Plot coordinate pairs
      • Pointers and references
      • Poker hand analyser
      • Polymorphic copy
      • Polymorphism
      • Polynomial derivative
      • Polynomial long division
      • Polynomial regression
      • Polynomial synthetic division
      • Polyspiral
      • Population count
      • Posit numbers
      • Positive decimal integers with the digit 1 occurring exactly twice
      • Power set
      • Powerful numbers
      • Practical numbers
      • Pragmatic directives
      • Price fraction
      • Price list behind API
      • Primality by trial division
      • Primality by Wilson's theorem
      • Prime conspiracy
      • Prime decomposition
      • Prime numbers p for which the sum of primes less than or equal to p is prime
      • Prime numbers which contain 123
      • Prime numbers whose neighboring pairs are tetraprimes
      • Prime reciprocal sum
      • Prime triangle
      • Prime triplets
      • Prime words
      • Primes - allocate descendants to their ancestors
      • Primes n*2 m 1
      • Primes which contain only one odd digit
      • Primes whose first and last number is 3
      • Primes whose sum of digits is 25
      • Primes with digits in nondecreasing order
      • Primorial numbers
      • Print debugging statement
      • Print itself
      • Priority queue
      • Probabilistic choice
      • Problem of Apollonius
      • Process SMIL directives in XML data
      • Product of divisors
      • Product of min and max prime factors
      • Program name
      • Program termination
      • Proof
      • Proper divisors
      • Pseudo-random numbers
        • Combined recursive generator MRG32k3a
        • Middle-square method
        • PCG32
        • Splitmix64
        • Xorshift star
      • Pseudorandom number generator image
      • Pythagoras tree
      • Pythagorean quadruples
      • Pythagorean triples
    • Q
    • R
    • S
    • T
    • U
    • V
    • W
    • X
    • Y
    • Z
  • The End
Powered by GitBook
On this page

Was this helpful?

  1. Programming tasks
  2. P

Pseudo-random numbers

Combined recursive generator MRG32k3aMiddle-square methodPCG32Splitmix64Xorshift star
PreviousProper divisorsNextCombined recursive generator MRG32k3a

Was this helpful?