login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A177009 a(n) = n^n - A002275(n). 3
0, -7, -84, -855, -7986, -64455, -287568, 5666105, 276309378, 8888888889, 274200559500, 8804989337145, 301763995481142, 11100895714446905, 437782779269748264, 18445632962598440505, 827229150775225653066 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
COMMENTS
20^20-11111111111111111111=104857588888888888888888889 is the only known prime term of this sequence. Next such prime has more than 40000 digits (n>10000)!
LINKS
FORMULA
a(n) = n^n - (10^n-1)/9. - Robert Israel, Oct 23 2016
EXAMPLE
a(2) = 2^2-11 = -7, a(8) = 8^8-11111111 = 5666105.
MAPLE
seq(n^n - (10^n-1)/9. n=1..20); # Robert Israel, Oct 23 2016
MATHEMATICA
Table[n^n - (10^n - 1)/9, {n, 17}]
CROSSREFS
Sequence in context: A027819 A269895 A272496 * A099674 A067413 A370779
KEYWORD
easy,sign,base
AUTHOR
Ali Heydarian (mymontain(AT)yahoo.com), May 13 2010
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 16 05:35 EDT 2024. Contains 371697 sequences. (Running on oeis4.)