OFFSET
1,1
COMMENTS
The base-6 representation of a term 6^i + 6^j - 1 has base-6 digital sum = 1 + 5*j == 1 (mod 5).
In base-6 representation the first terms are 105, 1055, 10005, 10555, 1000055, 1005555, 10000005, 100000555, 1000000555, 1000555555, 10000000005, 10000000555,
LINKS
Hieronymus Fischer, Table of n, a(n) for n = 1..60
EXAMPLE
a(1) = 41, since 41 = 6^2 + 6^1 - 1 is prime.
a(2) = 251, since 251 = 6^3 + 6^2 - 1 is prime.
MATHEMATICA
Select[Union[Flatten[Table[6^i+6^j-1, {i, 20}, {j, 0, i-1}]]], PrimeQ] (* Harvey P. Dale, Oct 05 2024 *)
PROG
CROSSREFS
KEYWORD
nonn
AUTHOR
Hieronymus Fischer, Apr 14 2014
STATUS
approved
