Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A063679
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A063679 Numbers n such that (3^n-7)/2 is prime. +0
3
0, 1, 4, 12, 18, 26, 106, 164, 246, 956, 2554, 3350 (list; graph; listen)
OFFSET

1,3

COMMENT

x = 3^n is a solution to sigma(x - 7) = sigma(x) - 7 when (3^n - 7)/2 is prime.

EXAMPLE

(3^4-7)/2 = 37 is prime, so 4 is in the sequence.

MAPLE

with(numtheory):i := 0:x := 1:while i < 1000 do i := i+1:x := 3*x: if isprime((x-7)/2) then print(i):fi:od:

MATHEMATICA

Do[ If[ PrimeQ[ (3^n - 7)/2 ], Print[n] ], {n, 2, 5500} ]

CROSSREFS

Cf. A000203, A063680, A015913-A015917, A054905.

Sequence in context: A078514 A074285 A057311 this_sequence A075867 A071929 A008037

Adjacent sequences: A063676 A063677 A063678 this_sequence A063680 A063681 A063682

KEYWORD

nonn

AUTHOR

Jud McCranie (j.mccranie(AT)comcast.net), Jul 28 2001

EXTENSIONS

More terms from Robert G. Wilson v (rgwv(AT)rgwv.com), Aug 02 2001

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 November 25 20:09 EST 2009. Contains 167514 sequences.


AT&T Labs Research