Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A065873
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A065873 Usigma(n) +/-1 are twin primes. +0
1
3, 5, 6, 10, 11, 17, 18, 20, 26, 29, 30, 38, 41, 44, 45, 46, 51, 55, 56, 59, 71, 80, 85, 88, 90, 98, 101, 105, 107, 114, 116, 118, 126, 132, 137, 140, 141, 145, 149, 150, 152, 153, 155, 158, 160, 161, 177, 178, 179, 185, 188, 191, 197, 203, 206, 207, 209, 212, 227 (list; graph; listen)
OFFSET

1,1

LINKS

Harry J. Smith, Table of n, a(n) for n=1,...,1000

MATHEMATICA

f[n_] := Block[ {a = FactorInteger[n], k = l = s = 1}, l = Length[a]; While[k <= l, s = s * (a[[k, 1]]^a[[k, 2]] + 1); k++ ]; Return[s]]; Select[ Range[250], PrimeQ[ f[ # ] + 1] && PrimeQ[ f[ # ] - 1] & ]

PROGRAM

(PARI) usigma(n)= { local(f, s=1); f=factor(n); for(i=1, matsize(f)[1], s*=1 + f[i, 1]^f[i, 2]); return(s) } { n=0; for (m=1, 10^9, u=usigma(m); if (isprime(u - 1) && isprime(u + 1), write("b065873.txt", n++, " ", m); if (n==1000, return)) ) } [From Harry J. Smith (hjsmithh(AT)sbcglobal.net), Nov 02 2009]

CROSSREFS

Cf. A034448.

Sequence in context: A065512 A066147 A140951 this_sequence A072282 A047327 A028927

Adjacent sequences: A065870 A065871 A065872 this_sequence A065874 A065875 A065876

KEYWORD

nonn

AUTHOR

Robert G. Wilson v (rgwv(AT)rgwv.com), Dec 07 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 December 13 23:45 EST 2009. Contains 170824 sequences.


AT&T Labs Research