Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A096983
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A096983 a(n) is the smallest prime whose base-n digits add up to a composite number. +0
1
23, 233, 7, 73, 11, 4801, 11, 17, 13, 19, 17, 337, 17, 23, 19, 31, 23, 151, 23, 29, 29, 31, 29, 73, 29, 41, 31, 37, 37, 619, 37, 41, 37, 43, 41, 61, 41, 47, 43, 61, 47, 67, 47, 53, 53, 61, 53, 73, 53, 59, 59, 61, 59, 79, 59, 71, 61, 67, 67, 109, 67, 71, 67, 73, 71, 101, 71, 83 (list; graph; listen)
OFFSET

2,1

COMMENT

Inspired by a homework problem in Crandall and Pomerance, Prime Numbers

EXAMPLE

23 = 10111 (base 2) and 1+1+1+1=4, 233 = 22122 (base 3) and 2+2+1+2+2=9, 337 = 1,12,12 (base 13) and 1+12+12=25

MATHEMATICA

f[n_] := Block[{p = PrimePi[n] + 1}, While[ PrimeQ[Plus @@ IntegerDigits[Prime[p], n]], p++ ]; Prime[p]]; Table[ f[n], {n, 2, 70}] (from Robert G. Wilson v Aug 21 2004)

CROSSREFS

Sequence in context: A022715 A060189 A028824 this_sequence A140572 A140844 A034986

Adjacent sequences: A096980 A096981 A096982 this_sequence A096984 A096985 A096986

KEYWORD

nonn

AUTHOR

John L. Drost (drost(AT)marshall.edu), Aug 19 2004

EXTENSIONS

More terms from Robert G. Wilson v (rgwv(AT)rgwv.com), Aug 21 2004

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 29 12:46 EST 2009. Contains 167659 sequences.


AT&T Labs Research