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!)
A239719 Primes of the form m = 9^i + 9^j - 1, where i > j >= 0. 2
89, 809, 6569, 65609, 531521, 538001, 590489, 4782977, 4783697, 47829689, 3486784409, 3491567369, 3529831121, 31768480097, 34867844009, 282430067921, 285916320881, 313810596089, 2541865834889, 22877179875449, 25418658283289 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
The base-9 representation of a term 9^i + 9^j - 1 has base-9 digital sum = 1 + 8*j == 1 (mod 8).
In base-9 representation the first terms are 108, 1088, 10008, 108888, 1000088, 1008888, 1088888, 10000008, 10000888, 108888888, 10000000008, 10008888888, 10088888888, 100888888888, ...
LINKS
Hieronymus Fischer, Table of n, a(n) for n = 1..40
EXAMPLE
a(1) = 89, since 89 = 9^2 + 9^1 - 1 is prime.
a(2) = 809, since 809 = 9^3 + 9^2 - 1 is prime.
MATHEMATICA
Select[Flatten[Table[9^i+9^j-1, {i, 0, 20}, {j, 0, i-1}]], PrimeQ] (* Harvey P. Dale, Jun 02 2023 *)
PROG
(Smalltalk)
"Answer an array of the first n terms of A239719.
Uses method primesWhichAreDistinctPowersOf: b withOffset: d from A239712.
Usage: n A239719
Answer: #(89 809 ... ) [a(1) ... a(n)]"
^self primesWhichAreDistinctPowersOf: 9 withOffset: -1
CROSSREFS
Sequence in context: A308801 A069764 A053580 * A290314 A103548 A241700
KEYWORD
nonn
AUTHOR
Hieronymus Fischer, Apr 14 2014
STATUS
approved

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 25 12:15 EDT 2024. Contains 371969 sequences. (Running on oeis4.)