logoalt Hacker News

andrewla01/21/20250 repliesview on HN

You can create your own using PARI/GP. To render the HN prime (a prime that has "HN" graphically with some garbage at the end, just go to [1] and type in:

    a = nextprime(0b1\
    0000000000000000\
    0100001010000010\
    0100001011000010\
    0100001010100010\
    0111111010010010\
    0100001010001010\
    0100001010000110\
    0100001010000010\
    0000000000000000\
    0000000000000000\
    )
1461507431067219818927492061258791363947404460153 is the HN prime (it looks better in binary and split to length-16 lines)

    >>> print("\n".join([bin(1461507431067219818927492061258791363947404460153)[3:][a*16:a*16+16] for a in range(10)]))
    0000000000000000
    0100001010000010
    0100001011000010
    0100001010100010
    0111111010010010
    0100001010001010
    0100001010000110
    0100001010000010
    0000000000000000
    0000000001111001
[1] https://pari.math.u-bordeaux.fr/gpwasm.html