Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A121014
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A121014 Nonprime terms in A121912. +0
3
1, 6, 9, 10, 15, 18, 30, 33, 45, 55, 90, 91, 99, 165, 246, 259, 370, 385, 451, 481, 495, 505, 561, 657, 703, 715, 909, 1035, 1045, 1105, 1233, 1626, 1729, 2035, 2409, 2465, 2821, 2981, 3333, 3367, 3585, 4005, 4141, 4187, 4521, 4545, 5005, 5461, 6533, 6541 (list; graph; listen)
OFFSET

1,2

COMMENT

Theorem: If both numbers q and 2q-1 are primes(q is in the sequence A005382) and n=q*(2q-1) then 10^n == 10 (mod n) (n is in the sequence A121014) iff q<5 or mod(q, 20) is in the set {1, 7, 19}. 6,15,91,703,12403,38503,79003,188191,269011,... are such terms. A005939 is a subsequence of this sequence. - Farideh Firoozbakht (mymontain(AT)yahoo.com), Sep 15 2006

FORMULA

Theorem: If both numbers q and 2q-1 are primes and n=q*(2q-1) then 10^n == 10 (mod n) (n is in the sequence) iff q<5 or mod(q, 20) is in the set {1, 7, 19}. - Farideh Firoozbakht (mymontain(AT)yahoo.com), Sep 11 2006

MATHEMATICA

Select[Range[10^4], ! PrimeQ[ # ] && PowerMod[10, #, # ] == Mod[10, # ] &] (*Chandler*)

PROGRAM

(PARI) for(n=1, 7000, if(!isprime(n), k=10^n; if((k-10)%n==0, print1(n, ", ")))) - (Klaus Brockhaus, Sep 06 2006)

CROSSREFS

Cf. A005382, A005939.

Sequence in context: A048283 A037198 A054020 this_sequence A020219 A130593 A051221

Adjacent sequences: A121011 A121012 A121013 this_sequence A121015 A121016 A121017

KEYWORD

nonn,easy

AUTHOR

njas, Sep 06 2006

EXTENSIONS

Extended by Ray Chandler (rayjchandler(AT)sbcglobal.net) and Klaus Brockhaus (klaus-brockhaus(AT)t-online.de), Sep 06 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 September 6 09:40 EDT 2008. Contains 143480 sequences.


AT&T Labs Research