Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A069048
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A069048 Numbers n such that n is a concatenation of consecutive natural numbers, starting from 1, and n+1 is prime. +0
1
12, 123456, 123456789101112131415161718192021222324252627282930, 123456789101112131415161718192021222324252627282930313233343536373839404142434, 445464748495051525354555657585960616263646566676869707172737475767778798081828 (list; graph; listen)
OFFSET

1,1

COMMENT

Let n be a concatenation of consecutive natural numbers, starting from 1. Is n ever a prime number?

EXAMPLE

123456 is a concatenation, starting with 1, of consecutive natural numbers, and 123456 + 1 is prime.

MATHEMATICA

z = {1}; For[i = 2, i <= 100, i++, z = Flatten[Append[z, IntegerDigits[i]]]; y = FromDigits[z]; If[PrimeQ[y + 1], Print[y]]]

CROSSREFS

Adjacent sequences: A069045 A069046 A069047 this_sequence A069049 A069050 A069051

Sequence in context: A051368 A103482 A056540 this_sequence A100246 A055323 A013796

KEYWORD

base,nonn

AUTHOR

Joseph L. Pe (joseph_l_pe(AT)hotmail.com), Apr 03 2002

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 October 12 13:44 EDT 2008. Contains 144830 sequences.


AT&T Labs Research