login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A239716 Primes of the form m = 6^i + 6^j - 1, where i > j >= 0. 1

%I #8 Apr 30 2014 01:30:26

%S 41,251,1301,1511,46691,47951,279941,1679831,10077911,10124351,

%T 60466181,60466391,60473951,362797091,362797271,362843711,2176782371,

%U 2237248511,13060694051,13121160191,78364164101,78364164311,78364171871

%N Primes of the form m = 6^i + 6^j - 1, where i > j >= 0.

%C The base-6 representation of a term 6^i + 6^j - 1 has base-6 digital sum = 1 + 5*j == 1 (mod 5).

%C In base-6 representation the first terms are 105, 1055, 10005, 10555, 1000055, 1005555, 10000005, 100000555, 1000000555, 1000555555, 10000000005, 10000000555,

%H Hieronymus Fischer, <a href="/A239716/b239716.txt">Table of n, a(n) for n = 1..60</a>

%e a(1) = 41, since 41 = 6^2 + 6^1 - 1 is prime.

%e a(2) = 251, since 251 = 6^3 + 6^2 - 1 is prime.

%o (Smalltalk)

%o A239716

%o "Answers an array of the first n terms of A239716.

%o Uses method primesWhichAreDistinctPowersOf: b withOffset: d from A239712.

%o Usage: n A239716

%o Answer: #(41 241 ... ) [a(1) ... a(n)]"

%o ^self primesWhichAreDistinctPowersOf: 6 withOffset: -1

%K nonn

%O 1,1

%A _Hieronymus Fischer_, Apr 14 2014

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 24 20:08 EDT 2024. Contains 371963 sequences. (Running on oeis4.)