Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A126017
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A126017 Smallest prime of the form k^n + k^(n-1) - 1. +0
2
2, 5, 11, 23, 47, 971, 191, 383, 22136835839, 1310719, 2259801991, 6143, 353563778431304822783, 91424858111, 5425784582791, 57395627, 21474836479, 1099999999999999999, 786431, 13508517176729920889 (list; graph; listen)
OFFSET

1,1

COMMENT

Primes arising in A125973.

EXAMPLE

Consider n = 10. k^n + k^(n-1) - 1 evaluates to 1, 1535, 78731, 1310719 for k = 1, ..., 4. Only the last of these numbers, 4^10+4^9-1 = 1310719, is prime, hence a(10) = 1310719.

PROGRAM

(PARI) {for(n=1, 20, k=1; while(!isprime(a=k^n+k^(n-1)-1), k++); print1(a, ", "))} - Klaus Brockhaus, Dec 17 2006

CROSSREFS

Cf. A000040, A045546, A125881-A125885, A125965-A125973.

Sequence in context: A055011 A007505 A059411 this_sequence A034468 A130668 A083380

Adjacent sequences: A126014 A126015 A126016 this_sequence A126018 A126019 A126020

KEYWORD

nonn

AUTHOR

Artur Jasinski (grafix(AT)csl.pl), Dec 14 2006

EXTENSIONS

Edited and extended by Klaus Brockhaus (klaus-brockhaus(AT)t-online.de), Dec 17 2006

page 1

Search completed in 0.002 seconds

Lookup | Welcome | Find friends | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
More pages | Superseeker | Maintained by N. J. A. Sloane (njas@research.att.com)

Last modified July 26 13:41 EDT 2008. Contains 142293 sequences.


AT&T Labs Research